Extremely slow "rm -rf" performance
Applies to
- ONTAP 9
- NFS
- FlexCache
Issue
- Very slow
rm -rf *
from the client - tcpdump shows high
Avg SRT
forREMOVE
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
- Other sources of latency may be present (example deleting cold data for a FabricPool volume), but based on Performance analysis,