Readdir ls -lU graphs
From Linux NFS
(Difference between revisions)
(→NFS v4) |
(→NFS v3) |
||
Line 29: | Line 29: | ||
=== NFS v3 === | === NFS v3 === | ||
* [[File:v3_ls_lU_noplus_rpc.jpg]] | * [[File:v3_ls_lU_noplus_rpc.jpg]] | ||
+ | ** Kernels issue the same number of RPC operations in this case | ||
* [[File:v3_ls_lU_plus_rpc.jpg]] | * [[File:v3_ls_lU_plus_rpc.jpg]] | ||
+ | ** Falling back to readdir on large directories can lead to thousands of extra RPC operations | ||
+ | |||
=== NFS v4 === | === NFS v4 === | ||
* [[File:v4_ls_lU_noplus_rpc.jpg]] | * [[File:v4_ls_lU_noplus_rpc.jpg]] | ||
* [[File:v4_ls_lU_plus_rpc.jpg]] | * [[File:v4_ls_lU_plus_rpc.jpg]] |
Revision as of 18:09, 7 April 2011
36: Linux 2.6.36 36NORC: Linux 2.6.36 (without readdir cap) 38: Linux 2.6.38 38RC: Linux 2.6.38 (with readdir cap added back) 38NB: Linux 2.6.38 (with Neil Brown's patch and loop detection)
Contents |
Real
NFS v3
-
- Falling back to readdir operations for large directories makes this command take longer. Removing the readdir plus cap from 2.6.36 improves performance, but doesn't match 2.6.38 kernels. Adding a readdir plus cap to 2.6.38 doubles the time needed for this command to complete.
NFS v4
Sys
NFS v3
NFS v4
RPC ops
NFS v3
-
- Kernels issue the same number of RPC operations in this case
-
- Falling back to readdir on large directories can lead to thousands of extra RPC operations