Hi all,

Apologies if this is a dumb question (or if this is the wrong forum for it); 
I'm seeing some very weird behaviour switching between NFS v3 and V4 on solaris 
10 u4, and wondered if anyone has any insights into what might be causing it.

Client is an X4600, with multipathed e1000g interfaces running at 1GB/s. Server 
is a Netapp FAS 3020. 

on the client, if I mount the volume NFS v4 and benchmark it using filebench's 
stock 'webserver' benchmark it, I get this:

   $nfsstat -m /package/orabackup
   /package/orabackup from nike:/vol/orabackup/dionysus-sbr
    Flags:         
vers=4,proto=tcp,sec=sys,hard,intr,link,symlink,acl,rsize=32768,wsize=32768,retrans=5,timeo=600
    Attr cache:    acregmin=3,acregmax=60,acdirmin=30,acdirmax=60

   $ /opt/filebench/bin/filebench
   filebench> load webserver
   filebench> run 60
   {...}
   IO Summary:      255700 ops 4238.6 ops/s, (1366/138 r/w)  23.1mb/s,   4894us 
cpu/op,  66.0ms latency

hmm, performance not so great. Now if I remount it just the same, but with 
vers=3, I get this:

   $ nfsstat -m /package/orabackup
   /package/orabackup from nike:/vol/orabackup/dionysus-sbr
   Flags:         
vers=3,proto=tcp,sec=sys,hard,intr,link,symlink,acl,rsize=32768,wsize=32768,retrans=5,timeo=600
    Attr cache:    acregmin=3,acregmax=60,acdirmin=30,acdirmax=60

   $ /opt/filebench/bin/filebench
   filebench> load webserver
   filebench> run 60
   {...}
   IO Summary:      4397877 ops 72839.3 ops/s, (23495/2351 r/w) 396.4mb/s,    
221us cpu/op,   3.1ms latency

a 20x speedup! So presumably I must have done something dumb with the NFS4v 
mount; but I'm at a loss to see what. Any pointers?

Thanks in advance!

Chris
 
 
This message posted from opensolaris.org

Reply via email to