On Tue, 2008-12-16 at 22:40 +0100, Davide Cittaro wrote:
Hi all, after some double checks and test I still have CentOS nfs client performance not exciting... Just for the record nfs server is Solaris 10. With CentOs client I reach at most ~ 80 MB/s on a gigabit ethernet... I should be satisfied, as it is close to real-world ethernet performance. Nevertheless I have ~100 MB/s with other linux clients (not CentOS). The mount options are the same on CentOS and on Gentoo...
rw ,nosuid ,vers = 3 ,rsize =1048576,wsize=1048576,hard,noacl,proto=tcp,timeo=600,retrans=2,sec=sys
Also, I've tried another NFS server based on FreeBSD
rw ,vers =3,rsize=32768,wsize=32768,hard,proto=tcp,timeo=600,retrans=2,sec=sys
(options are results of nfsstat -m). I have ~74 MB/s on Gentoo and 52 MB/s on CentOS... I've tried many wsize/rsize, a bunch of different mount options, but still I can't outperform those values...
---- larger rsize/wsize values do not necessarily translate to faster and I was of the opinion that going over 65536 wasn't going to help at all. With some NFS servers, a smaller rsize/wsize is better. (8192 or 16384) but that is the point of tuning I suppose.
hubs/switches, wires and the network cards themselves all can impact performance - it's not necessarily CentOS itself.
Craig