Bug 683452 - [nfs/xfstests 074] Significant performance drop in nfsv4 vs nfsv3
Summary: [nfs/xfstests 074] Significant performance drop in nfsv4 vs nfsv3
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: kernel
Version: 6.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Red Hat Kernel Manager
QA Contact: Filesystem QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-09 12:54 UTC by Boris Ranto
Modified: 2011-03-30 17:54 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-30 17:54:53 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Boris Ranto 2011-03-09 12:54:29 UTC
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:

Comment 2 Steve Dickson 2011-03-10 12:59:16 UTC
What server are you running against?

Comment 3 Boris Ranto 2011-03-11 11:58:05 UTC
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)

Comment 4 RHEL Program Management 2011-03-30 17:54:53 UTC
Development Management has reviewed and declined this request.  You may appeal
this decision by reopening this request.


Note You need to log in before you can comment on or make changes to this bug.