跳转到主内容

ONTAP 如何实施 SMB 信用

Views:
75
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:

适用于

  • ONTAP 9.4 及更高版本
  • SMB2 及更高版本

问题解答

  • 在 ONTAP 9.4 中,通过最大信用配置实现了 SMB 信用的限制
    • 在 9.4 之前,SMB 客户端可以获得其请求的所有信用
    • 默认情况下,使用 ONTAP 9.4-9.12 创建的 CIFS 服务器为每个连接授予 128 个信用
    • 默认情况下,使用 ONTAP 9.13+ 创建的 CIFS 服务器为每个连接授予 512 个信用
  • 显示当前max-credits值:

cluster1::*> set -privilege advanced
cluster1::*> vserver cifs options show -vserver svm1 -fields max-credits

  • 修改 max-credits 值:

cluster1::*> vserver cifs options modify -vserver svm1 -max-credits 1024

追加信息

  • 修改后的信用值仅对新的 CIFS 会话生效
  • SMB 信用确定客户端在特定连接上可以具有的未处理并发请求的数量
  • 允许的范围介于 2 和 8192 之间
    • 默认值(512及以上)通常不需要更改,除非确认为根本原因或供应商声明需要特定数量的积分。
      • 如果与默认值不同,请遵循客户供应商的建议
    • 虽然可以将积分数设置为 2,但有报道称,一些客户在如此低的设置下开始表现不当
  • 支持部门建议根据需要将信用点数量增加一倍,直至达到最大值。
  • 如此 Microsoft 文档页面 SMB 文件服务器的性能调整中所述,Windows 默认为 512 个信用点。
  • 有关完全禁用 SMB 信用点的帮助,请联系 NetApp 技术支持 并参考本文。

 

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.