跳转到主内容

NetApp_Insight_2020.png 

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

Views:
9
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
perf
Last Updated:

状态信息

适用于

  • Data ONTAP 8
  • 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.

 

 

CUSTOMER EXCLUSIVE CONTENT

Registered NetApp customers get unlimited access to our dynamic Knowledge Base.

New authoritative content is published and updated each day by our team of experts.

Current Customer or Partner?

Sign In for unlimited access

New to NetApp?

Learn more about our award-winning Support