Thread: NFS tuning
View Single Post
  #1   (View Single Post)  
Old 25th May 2008
SiTLar SiTLar is offline
New User
 
Join Date: May 2008
Posts: 2
Unhappy NFS tuning

Hi!
I'm using NetBSD on an old notebook as a multipurpose server. I've installed nfsd on my NAS to let NetBSD access file archives. Samba doesn't work since NetBSD freezes than doing a memcpy to a mmap'ed file on smbfs. Unfortunately I got a very bad performance of NetBSD's nfs client.

To test the speed I use
Code:
$ dd if=/mnt/NAS/testfile of=/dev/null bs=16k
testfile is 256M zeros.

The best result on NetBSD is only 1.3Mb/s , however my desktop (2.6 linux) is doing 2.3Mb/s with same rsize=1024 on both systems. If I increase the value I get much better results on linux - up to 5.4Mb/s, but a performance loss on NetBSD - only about 500kb/s.

Any ideas? Thanks in advance!

Last edited by SiTLar; 25th May 2008 at 01:27 AM.
Reply With Quote