跳转到主内容

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

Views:
94
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

Scan to view the article on your device