Readdir ls -U graphs
From Linux NFS
(Difference between revisions)
(→NFS v4) |
|||
(5 intermediate revisions not shown) | |||
Line 8: | Line 8: | ||
== Real == | == Real == | ||
+ | === NFS v3 === | ||
* [[File:v3_ls_U_noplus_real.jpg]] | * [[File:v3_ls_U_noplus_real.jpg]] | ||
* [[File:v3_ls_U_plus_real.jpg]] | * [[File:v3_ls_U_plus_real.jpg]] | ||
+ | ** In this case, using readdir plus increases the time required for the command to complete. | ||
+ | |||
+ | === NFS v4 === | ||
* [[File:v4_ls_U_noplus_real.jpg]] | * [[File:v4_ls_U_noplus_real.jpg]] | ||
* [[File:v4_ls_U_plus_real.jpg]] | * [[File:v4_ls_U_plus_real.jpg]] | ||
== Sys == | == Sys == | ||
+ | === NFS v3 === | ||
* [[File:v3_ls_U_noplus_sys.jpg]] | * [[File:v3_ls_U_noplus_sys.jpg]] | ||
* [[File:v3_ls_U_plus_sys.jpg]] | * [[File:v3_ls_U_plus_sys.jpg]] | ||
+ | ** Using readdir plus causes the command to spend more time in the kernel | ||
+ | |||
+ | === NFS v4 === | ||
* [[File:v4_ls_U_noplus_sys.jpg]] | * [[File:v4_ls_U_noplus_sys.jpg]] | ||
* [[File:v4_ls_U_plus_sys.jpg]] | * [[File:v4_ls_U_plus_sys.jpg]] | ||
== RPC ops == | == RPC ops == | ||
- | * [[File: | + | === NFS v3 === |
- | * [[File: | + | * [[File:v3_ls_U_noplus_rpc.jpg]] |
- | * [[File: | + | ** 2.6.36 uses fewer RPC operations than 2.6.38 |
- | * [[File: | + | * [[File:v3_ls_U_plus_rpc.jpg]] |
+ | ** Kernels using readdir for large directories issue fewer RPC operations than kernels using readdir plus | ||
+ | |||
+ | === NFS v4 === | ||
+ | * [[File:v4_ls_U_noplus_rpc.jpg]] | ||
+ | ** 2.6.36 kernels issue fewer RPC operations than 2.6.38 kernels | ||
+ | * [[File:v4_ls_U_plus_rpc.jpg]] | ||
+ | ** 2.6.36 kernels issue fewer RPC operations than 2.6.38 kernels. 2.6.38 kernels that do a readdir for larger directories issue fewer RPC operations than a 2.6.38 kernel that always does a readdir plus. |
Latest revision as of 18:27, 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
NFS v4
Sys
NFS v3
NFS v4
RPC ops
NFS v3
-
- 2.6.36 uses fewer RPC operations than 2.6.38
-
- Kernels using readdir for large directories issue fewer RPC operations than kernels using readdir plus