メインコンテンツまでスキップ

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

Views:
246
Visibility:
Public
Votes:
1
Category:
ontap-9
Specialty:
core
Last Updated:

環境

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

回答

パフォーマンスの問題を定量化するのは困難です。1つのディレクトリに多数のファイルが含まれている場合、検索(検索処理など)で大量の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.