Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Poor nfs performance (in comarison to ftp)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
b0fh
Guru
Guru


Joined: 16 Jun 2003
Posts: 426

PostPosted: Tue May 11, 2004 8:40 pm    Post subject: Poor nfs performance (in comarison to ftp) Reply with quote

I've got two (infact more machines are in my network, but that doesn't matter) gentoo-machines running kernel 2.6 connected over 100mbit ethernet. Copying a large file from server to client over nfs gives me just about 3,5mbyte/s throughput. Both machines can give more, as a test over ftp (vsftpd) between these gave about 6,7mb/s throughput (file on same disk, about the same size).
I played around a bit with rsize/wsize options of nfs and tried nfsv2 and v3 - no better results.
So what might be the reason for this really bad nfs-performance? As nfs is a kernel-feature it shouldn't so terrible slow compared to ftp...
Back to top
View user's profile Send private message
b0fh
Guru
Guru


Joined: 16 Jun 2003
Posts: 426

PostPosted: Wed May 12, 2004 8:42 pm    Post subject: Reply with quote

I found a little tweak: Setting "RPCNFSDCOUNT" to 1 in /etc/conf.d/nfs pushes my transfer rate to about 5mb/s. Not as fast as I want, but better than before. But that also pushes the cpu-usage of the remaining process to about 60% (= 0%idle with disk-reads).
I also read here that other users have these performance-problems with gentoo (some say they didn't have the problem with oder distributions on same hardware). What else might be the reason?
Back to top
View user's profile Send private message
b0fh
Guru
Guru


Joined: 16 Jun 2003
Posts: 426

PostPosted: Tue May 25, 2004 3:16 pm    Post subject: Reply with quote

Still no ideas for this problem?
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7731
Location: Underworld

PostPosted: Tue May 25, 2004 3:25 pm    Post subject: Reply with quote

How is the mount line that you are using in the clients? It should have rsize=8192,wsize=8192
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
b0fh
Guru
Guru


Joined: 16 Jun 2003
Posts: 426

PostPosted: Tue May 25, 2004 4:20 pm    Post subject: Reply with quote

Yes, I tried these options (also different values for them), but it didn't increase my performance at all... What pushed it a little is the RPCNFSDCOUNT and setting "async" in /etc/exports...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum