Skip to main content
NetApp Knowledge Base

Extremely slow "rm -rf" performance

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

Applies to

  • ONTAP 9
  • NFS
  • FlexCache

Issue

  • Very slow rm -rf * from the client
  • tcpdump shows high Avg SRT for REMOVE calls on both client and storage

===========================================================================
ONC-RPC Service Response Time Statistics - 2009779106.nodename.trc:
Index  Procedure  Calls  Min SRT (s)  Max SRT (s)  Avg SRT (s)  Sum SRT (s)
---------------------------------------------------------------------------
NFS Version 3
ACCESS          4    217     0.000041     0.001538     0.000220     0.047819
GETATTR         1    534     0.000043     0.002227     0.000223     0.118914
LOOKUP          3   3710     0.000056     0.015549     0.000718     2.662431
READDIR        16     42     0.000070     0.001054     0.000295     0.012392
READDIRPLUS    17    366     0.000098     0.211175     0.017263     6.318126
REMOVE         12  15832     0.000213     6.917006     0.190092  3009.528768
RMDIR          13    215     0.000189     0.385931     0.080173    17.237143
NFS Version 3
---------------------------------------------------------------------------

  • Volume is a FlexCache origin volume with more than 1 or more FlexCache destinations
  • The main driver of latency appears to be WREMOTE_REVOKE_UNAWARE
    • Other sources of latency may be present (example deleting cold data for a FabricPool volume), but based on Performance analysis, WREMOTE_REVOKE_UNAWARE accounts for the majority of latency encountered

 

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.