Readdir performance results

From Linux NFS

(Difference between revisions)
Jump to: navigation, search
(Created page with '* Readdir NFSv3 No Readdir Plus')
 
(8 intermediate revisions not shown)
Line 1: Line 1:
 +
== Graphical comparison of commands ==
 +
* [[Readdir ls -f graphs | ls -f]]
 +
* [[Readdir ls -lU graphs | ls -lU]]
 +
* [[Readdir ls -U graphs | ls -U]]
 +
* [[Readdir rm -rf graphs | rm -rf]]
 +
 +
== Data ==
* [[Readdir NFSv3 No Readdir Plus]]
* [[Readdir NFSv3 No Readdir Plus]]
 +
* [[Readdir NFSv3 With Readdir Plus]]
 +
* [[Readdir NFSv4 No Readdir Plus]]
 +
* [[Readdir NFSv4 With Readdir Plus]]
 +
 +
== About the server ==
 +
* Lenovo thinkpad T400
 +
* 3GB Ram
 +
* Intel(R) Core(TM)2 Duo CPU    P8600  @ 2.40GHz
 +
* Linux 2.6.37-ARCH
 +
* x86_64
 +
* Export: /nfs 192.168.122.0/255.255.255.0(rw,fsid=0,no_subtree_check,async,no_root_squash,crossmnt,nohide)
 +
 +
== About the kernels / shortcodes ==
 +
* Kernels were compiled off of the master branch of Linus' git tree (git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git)
 +
* 2.6.36 Kernels (Checked out from the tag "v2.6.36")
 +
** <b>36</b>: This kernel has not been modified at all.  It was compiled right after checking out "v2.6.36"
 +
** <b>36NORC</b>: This kernel has the readdir plus cap for large directories removed
 +
* 2.6.38 Kernels (Checked out from the tag "v2.6.38")
 +
** <b>38</b>: This kernel has not been modified at all.  It was compiled right after checking out "v2.6.38"
 +
** <b>38RC</b>: This kernel has re-added the readdir plus cap for large directories
 +
** <b>38NB</b>: This kernel features a more selective readdir operation.  It issues a readdir plus call, and if the extra attributes are used then it will keep issuing readdir plus calls.  If the attributes go unused, it will switch over to using a readdir call.  This kernel also features loop detection for readdir cookies, a problem that only hit very large directories.

Latest revision as of 18:59, 7 April 2011

Contents

Graphical comparison of commands

Data

About the server

  • Lenovo thinkpad T400
  • 3GB Ram
  • Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz
  • Linux 2.6.37-ARCH
  • x86_64
  • Export: /nfs 192.168.122.0/255.255.255.0(rw,fsid=0,no_subtree_check,async,no_root_squash,crossmnt,nohide)

About the kernels / shortcodes

  • Kernels were compiled off of the master branch of Linus' git tree (git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git)
  • 2.6.36 Kernels (Checked out from the tag "v2.6.36")
    • 36: This kernel has not been modified at all. It was compiled right after checking out "v2.6.36"
    • 36NORC: This kernel has the readdir plus cap for large directories removed
  • 2.6.38 Kernels (Checked out from the tag "v2.6.38")
    • 38: This kernel has not been modified at all. It was compiled right after checking out "v2.6.38"
    • 38RC: This kernel has re-added the readdir plus cap for large directories
    • 38NB: This kernel features a more selective readdir operation. It issues a readdir plus call, and if the extra attributes are used then it will keep issuing readdir plus calls. If the attributes go unused, it will switch over to using a readdir call. This kernel also features loop detection for readdir cookies, a problem that only hit very large directories.
Personal tools