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

maxdir-sizeのサイズを変更すると、パフォーマンスにどのような影響がありますか?

Views:
858
Visibility:
Public
Votes:
2
Category:
ontap-9
Specialty:
CORE
Last Updated:

環境

  • ONTAP 9
  • Cloud Volumes ONTAP
  • Data ONTAP 8
  • ディレクトリサイズ

回答

パフォーマンスの問題は定量化するのが難しい。単一のディレクトリに多数のファイルが含まれている場合、検索(find操作など)によって大量のCPUとメモリが消費される可能性があります。

  • 大規模なディレクトリ内での検索は、大量のCPUとメモリを消費します。
  • 大規模なディレクトリをNFSのみからCIFSに変換するには、長期間にわたって多くのリソースが必要になります。
  • ディレクトリがメモリにロードされると、ディレクトリツリー全体がロードされます。
  • 一部は使用されないことでメモリから削除される可能性がありますが、ディスクからの読み込みや、ディレクトリを格納するためのメモリ上の領域確保にはパフォーマンスへの影響があります。

ONTAP 9.2以降では、ディレクトリインデックス作成機能により、2MBを超えるディレクトリサイズに対してインデックスファイルが作成され、多数のルックアップを実行する必要性を軽減し、キャッシュミスを回避するのに役立ちます。

  • 通常、これは大規模ディレクトリのパフォーマンス向上に役立ちます。しかし、ワイルドカード検索やreaddir操作においては、インデックス作成はあまり役に立ちません。
  • 可能な場合は、ファイル数の多い環境では最新バージョンのONTAPを使用して、WAFLの改善によるメリットを得てください。

注記:maxdirsizeの値は、4GBを超えないようにハードコーディングされています。ただし、maxdirsizeを1GBより大きく設定する場合は、パフォーマンスの問題が発生する可能性があるため注意が必要です。詳細については、追加情報を参照してください。

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.