Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 683452

Summary: [nfs/xfstests 074] Significant performance drop in nfsv4 vs nfsv3
Product: Red Hat Enterprise Linux 6 Reporter: Boris Ranto <branto>
Component: kernelAssignee: Red Hat Kernel Manager <kernel-mgr>
Status: CLOSED WONTFIX QA Contact: Filesystem QE <fs-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2CC: bfields, dhowells, jlayton, kzhang, rwheeler, steved
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-30 17:54:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.