[ale] Slow NFS Speed?

David Tomaschik david at systemoverlord.com
Thu Sep 15 11:26:57 EDT 2011


On Thu, Sep 15, 2011 at 11:10 AM, Ed Cashin <ecashin at noserose.net> wrote:
> Wild guess: Client is mounting with the "sync" option?
>
> The sync export option on the server is needed and normal, but the client
> mount option really slows things down and isn't proportionately helpful.
>
> Providing more details (stuff like `cat /proc/mounts`) will help folks give
> you less wild guesses.  ;)

Good point -- not enough coffee in me yet this morning.  IP addresses
changed to protect the innocent.

xserve:/Volumes/VTrak /mnt/VTrak nfs
rw,relatime,vers=3,rsize=65536,wsize=65536,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=10.1.1.53,mountvers=3,mountproto=tcp,addr=10.1.1.53
0 0

NFS Stat:

# nfsstat
Server rpc stats:
calls      badcalls   badauth    badclnt    xdrcall
17519673   0          0          0          0

Server nfs v3:
null         getattr      setattr      lookup       access       readlink
69        0% 11065566 63% 19642     0% 49364     0% 241549    1% 5         0%
read         write        create       mkdir        symlink      mknod
21849     0% 3045148  17% 6084      0% 723       0% 3         0% 0         0%
remove       rmdir        rename       link         readdir      readdirplus
1676      0% 42        0% 820       0% 114       0% 61        0% 6292      0%
fsstat       fsinfo       pathconf     commit
124314    0% 112       0% 63        0% 2931595  16%

Client rpc stats:
calls      retrans    authrefrsh
12980703   0          0

Client nfs v3:
null         getattr      setattr      lookup       access       readlink
0         0% 116983    0% 0         0% 69601     0% 39658     0% 0         0%
read         write        create       mkdir        symlink      mknod
12745216 98% 0         0% 0         0% 0         0% 0         0% 0         0%
remove       rmdir        rename       link         readdir      readdirplus
0         0% 0         0% 0         0% 0         0% 428       0% 8740      0%
fsstat       fsinfo       pathconf     commit
73        0% 2         0% 1         0% 0         0%


>
> On Thu, Sep 15, 2011 at 10:43 AM, David Tomaschik <david at systemoverlord.com>
> wrote:
>>
>> At work, we have an OS X 10.5 NFS server with a Ubuntu Server 10.04
>> client.  (Among others.)  We're running backups via NFS using Amanda,
>> and the backups seem to be pegging at exactly 100Mbit/s.  Both
>> machines are connected via GigE, full-duplex.  (Confirmed via mii-tool
>> and system preferences.)
>>
>> I can read from the storage array on the XServe at ~200MB/s via dd.
>> Additionally, Amanda can read from clients remotely (SSH transport) at
>> 400-500 Mbit/s, so it doesn't seem to be an issue with the backup
>> server.
>>
>> I've tried tweaking NFS rsize with no noticeable impact.  Any other
>> hints to improve NFS performance?  Anyone with experience with OS X as
>> an NFS host?  Most of the information I find online is OS X as an NFS
>> client.




-- 
David Tomaschik, RHCE, LPIC-1
System Administrator/Open Source Advocate
OpenPGP: 0x5DEA789B
http://systemoverlord.com
david at systemoverlord.com



More information about the Ale mailing list