Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Feb 2003 17:41:09 -0600
From:      Tillman <tillman@seekingfire.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: speeding up NFS
Message-ID:  <20030209174109.B32740@seekingfire.com>
In-Reply-To: <20030209192839.GH5356@dan.emsphone.com>; from dnelson@allantgroup.com on Sun, Feb 09, 2003 at 01:28:39PM -0600
References:  <200302091717.42138.ajacoutot@lphp.org> <20030209192839.GH5356@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030209174109.B32740>