[CentOS] nfs slow?

Tue Dec 16 21:40:29 UTC 2008
Davide Cittaro <davide.cittaro at ifom-ieo-campus.it>

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...

d


Davide Cittaro
davide.cittaro at ifom-ieo-campus.it