|
NetBSD General Other questions regarding NetBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
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 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. |
|
|||
Optimizing NFS is very difficult, something that speeds up one application, will lower performance for another.
Are you using TCP or UDP? NFS version 2 or version 3 protocol ? Can you test the difference?
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
I can use only nfsv3 - I need large file support. Somehow there is no tcp support in the nfs server I've compiled, I didn't manage to figure out why. UDP fragmentation is relay a problem in NetBDS: I get 1.5 MB/s with rsize=1024 and 3 times less with larger values which are bigger than 1500 MTU. However linux client shows very good results in that configuration.
|
Thread Tools | |
Display Modes | |
|
|