跳转到主内容

在运行长时间的 readdir 请求时,遍历大型稀疏目录的速度非常慢

Views:
177
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
perf<a>1088361</a>
Last Updated:

适用场景

  • ONTAP 9
  • NFS
  • SMB

问题描述

  • 通过大目录需要很长时间、可能会出现以下症状:
    • 许多运行的远程 READR/ READDIR + 请求都可以通过数据包跟踪来识别、在最坏的情况下可能需要数十秒甚至数百秒的时间 
      • 注意: SMB 2 查询目录请求或其他 SMB 版本中的等效项也是如此
    • NFS/SMB 客户端超时
    • 各种性能监控工具报告的可怕延迟
  • 将从 EMS 日志中弹出许多不同的错误消息:
    • [<node_name>: wafl_exemptxx: wafl.readdir.expired:error]: A READDIR file operation has expired for the directory associated with volume <volume_name>/@vserver:<vserver_uuid> Snapshot copy ID xx and inode <inode_number>.
    • [<node_name>: wafl_exemptxx: wafl.readdir.sparse:notice]: A READDIR file operation has detected that a directory associated with volume <volume_name>/@vserver:<vserver_uuid> Snapshot ID xx and inode <inode_name> is sparse.

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning 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.