How can I figure out where the performance hit is on NFS #2?

I have two NFS shares that I can write two: NFS #1 and NFS #2.
However, operating on NFS #1 is 3-10 times faster than NFS #2, and I
am curious to know why.  As a baseline, I did the same operations on
the local disk, which is over 10 times faster than NFS #1.
Unfortunately, I do not have admin access on any of these systems nor
on the network.  But I would like to make helpful suggestions to the
networking and system admins.

Here's a summary of times in seconds for various operations:

Disk Access, Nested Directories,Traverse Directory Tree,Remove Directory Tree
Local Disk,0.26,0.13,0.27
NFS #1,8.72,5.86,4.25
NFS #2,33.50,16.95,46.32

Here's the raw data:

#### on local disks
# create nested directories
$ time -p echo {00..09}/{00..09}/{00..09}/{00..09} | xargs mkdir -p
real 0.26
user 0.03
sys 0.21

# traverse directory tree
$ time -p find . | wc -l
11111
real 0.13
user 0.03
sys 0.10

# remove directory tree
$ time -p rm -rf *
real 0.27
user 0.00
sys 0.26


### NFS #1
# create nested directories
$ time -p echo {00..09}/{00..09}/{00..09}/{00..09} | xargs mkdir -p
real 8.72
user 0.02
sys 0.59

# traverse directory tree
$ time -p find . | wc -l
11111
real 5.86
user 0.05
sys 0.70

# remove directory tree
$ time -p rm -rf *
real 4.25
user 0.06
sys 0.51


### NFS #2
# create nested directories
$ time -p echo {00..09}/{00..09}/{00..09}/{00..09} | xargs mkdir -p
real 33.50
user 0.14
sys 2.15

# traverse directory tree
$ time -p find . | wc -l
11111
real 16.95
user 0.18
sys 1.86

# remove directory tree
$ time -p rm -rf *
real 46.32
user 0.16
sys 3.37

Regards,
- Robert

-- 
-- 
Central West End Linux Users Group (via Google Groups)
Main page: http://www.cwelug.org
To post: [email protected]
To subscribe: [email protected]
To unsubscribe: [email protected]
More options: http://groups.google.com/group/cwelug
--- 
You received this message because you are subscribed to the Google Groups 
"Central West End Linux Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to