On Sun, Feb 09, 2003 at 01:28:39PM -0600, Dan Nelson wrote: > In the last episode (Feb 09), Antoine Jacoutot said: > > I wanted to know if someone could help me speed up NFS transfers with > > FreeBSD-4.7-STABLE. With Linux clients+server, the transfers are > > exactly twice faster than with freeBSD, so I am sure I must have > > screwed the configuration somewhere. > > Writes or reads? I bet Linux doesn't sync on NFS writes like it's > supposed to. If you set the sysctl vfs.nfsrv.async=1 on your FreeBSD > nfs server, does it match Linuxes speed?
Which sysctl is this? The closest I can find is: # sysctl -a | grep nfs | grep sync vfs.nfs.async: 0 If that's the one, it may still not be necessary. I'm getting about 8.5-9 Megabytes/s on NFS reads from a Linux 2.4 client (on a 100Mbit switched LAN) with it set to 0, as measured by Bonnie++. This is fairly close to the 12MB/s fast ethernet theoretical maximum, so I'm happy with performance. -T -- Page 41: Two of the most important Unix traditions are to share and to help people. - Harley Hahn, _The Unix Companion_ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message