メインコンテンツへスキップ

ONTAPがSMBクレジットを実装する方法

Views:
380
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に設定することは可能ですが、一部のクライアントはこのような低い設定で誤動作し始めるという報告があります
  • サポートからの推奨は、必要に応じてクレジットの量を最大値まで2倍にすることです。
  • このMicrosoft Docsページ SMBファイルサーバーのパフォーマンスチューニングに記載されているように、Windowsのデフォルトは512クレジットです。
  • SMBクレジットを完全に無効にするサポートが必要な場合は、 NetApp Technical Support に連絡し、本記事を参照してください。

 

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.