Readdir ls -lU graphs

From Linux NFS

(Difference between revisions)
Jump to: navigation, search
(NFS v3)
(NFS v4)
Line 24: Line 24:
* [[File:v4_ls_lU_noplus_sys.jpg]]
* [[File:v4_ls_lU_noplus_sys.jpg]]
* [[File:v4_ls_lU_plus_sys.jpg]]
* [[File:v4_ls_lU_plus_sys.jpg]]
 +
** Using readdir plus on 2.6.38 kernels decreases time spent in the kernel
== RPC ops ==
== RPC ops ==

Revision as of 18:06, 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

  • V3 ls lU noplus real.jpg
  • V3 ls lU plus real.jpg
    • 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

  • V4 ls lU noplus real.jpg
  • V4 ls lU plus real.jpg

Sys

NFS v3

  • V3 ls lU noplus sys.jpg
  • V3 ls lU plus sys.jpg

NFS v4

  • V4 ls lU noplus sys.jpg
  • V4 ls lU plus sys.jpg
    • Using readdir plus on 2.6.38 kernels decreases time spent in the kernel

RPC ops

NFS v3

  • V3 ls lU noplus rpc.jpg
  • V3 ls lU plus rpc.jpg

NFS v4

  • V4 ls lU noplus rpc.jpg
  • V4 ls lU plus rpc.jpg
Personal tools