Hide Forgot
Description of problem: While testing nfs with xfstests I've noticed rather serious performance drop between nfs v4 and nfs v3. For nfs v3 the test 074 took about 4 minutes. For nfs v4 the test 074 took about 8 hours. Version-Release number of selected component (if applicable): 2.6.32-119.el6 How reproducible: Always Steps to Reproduce: 1. Set up nfs v3 as default for mounting (I used localhost nfs server) echo 'Nfsvers=3' >> /etc/nfsmount.conf 2. Set up xfstests and run test 074 for nfs (v3) TEST_PARAM_RUNTESTS="074" TEST_PARAM_FSTYPE="nfs" make 3. Notice the test ran just few minutes (4 minutes in my case) 4. Set up nfs v4 as default for mounting 5. Set up xfstests and run test 074 for nfs (v4) TEST_PARAM_RUNTESTS="074" TEST_PARAM_FSTYPE="nfs" make Actual results: The test will run for several hours. Expected results: The test will run for several minutes. Additional info:
What server are you running against?
Server running on localhost and I mount /export/test and /export/scratch directories: [root@intel-sugarbay-dh-01 xfstests]# cat /etc/exports / *(rw,no_root_squash,fsid=0,insecure) [root@intel-sugarbay-dh-01 ~]# mount|grep localhost localhost:/export/test on /mnt/testarea/test type nfs (rw,context="system_u:object_r:nfs_t:s0",nfsvers=3,addr=::1) localhost:/export/scratch on /mnt/testarea/scratch type nfs (rw,context="system_u:object_r:nfs_t:s0",nfsvers=3,addr=::1)
Development Management has reviewed and declined this request. You may appeal this decision by reopening this request.