PDA

View Full Version : NFS performance to Tru64 client


CrystalCowboy
16th November 2004, 02:20 PM
I have an FC2 machine, kernel 2.6.8-1.521. I am exporting a disk via NFS.

Perfomance to Linux clients seems fine. With an 'Alpha' workstation running Compaq Tru64 v5.1, performance is asymmetrical. Reading a file is fast, less than a second for a 75 MB file (got gigabit.)
# time cp /nfs/test/file.big /usr/tmp
0.000u 0.635s 0:00.64 98.4% 0+1k 1+9312io 0pf+0w

Writing to the NFS disk is much slower, 30 seconds or more:
# time cp /usr/tmp/file.big /nfs/test/
0.003u 0.613s 0:32.56 1.8% 0+1k 50+9217io 43pf+0w

What is wrong, and how can I fix it? Tru64 mounts the disk as NFSv3.

I think this problem has been around for at least a few years.

CrystalCowboy
16th November 2004, 02:49 PM
I added wsize=8192,rsize=8192 to the options list in /etc/fstab of the client, and that seems to have helped a lot. Write time from local disk to the NFS disk is ~ 4 seconds.