AnsweredAssumed Answered

NFS performance issue

Question asked by littonpeng on Oct 11, 2013
Latest reply on Oct 13, 2013 by Ted Dunning
I mount a volume to client servers by nfs to test the performance. When try to write small size files the performance is very poor. Need i config something on server or client? Thanks.

Tar the file on local physical disk:
[root@mgt02 ~]# time tar -jxf linux-2.6.32-279.el6.tar.bz2 -C tar-time-test/
real    0m17.924s
user    0m17.842s
sys     0m1.980s

On marp nfs client 1:
[root@mgt02 test-async]# time tar -jxf linux-2.6.32-279.el6.tar.bz2
real    3m27.421s
user    0m20.142s
sys     0m10.058s

[root@mgt02 ~]# mount
c1-ps-ha-dgzmt:/mapr/cluster01-ps-dgzmt/vol1-c1-p002 on /mnt/primary type nfs (rw,addr=192.168.3.193)

On marp nfs client 2:
[root@h02-c1-p002-dgzmt test-sync]# time tar -jxf linux-2.6.32-279.el6.tar.bz2
real    12m40.137s
user    0m22.931s
sys     0m52.916s

[root@h02-c1-p002-dgzmt ~]# mount
c1-ps-ha-dgzmt:/mapr/cluster01-ps-dgzmt/vol1-c1-p002 on /mnt/mapr-mount-by-sync type nfs (rw,sync,nfsvers=3,noac,addr=192.168.3.192)

On marp nfs client 3:
[root@h10-c1-p001-dgzmt test-sync]# time tar -jxf linux-2.6.32-279.el6.tar.bz2
real    13m50.932s
user    0m22.637s
sys     0m58.704s

Outcomes