Date: Sun, 09 Feb 2003 14:26:39 -0500 From: Bill Moran <wmoran@potentialtech.com> To: Antoine Jacoutot <ajacoutot@lphp.org> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: speeding up NFS Message-ID: <3E46AB6F.1040708@potentialtech.com> References: <200302091717.42138.ajacoutot@lphp.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Antoine Jacoutot wrote: > Hi ! > > 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. > Here are the options used for mounting: > rw,intr,hard,-r=8192,-w=8192,-U > > And here is the server's rc.conf: > nfs_reserved_port_only="YES" > nfs_server_enable="YES" > nfs_server_flags="-h 192.168.0.1 -u -t -n 4" > rpc_lockd_enable="YES" > rpc_statd_enable="YES" Search the archives ... I seem to remember this being discussed in great depth a few years ago. You may be able to increase the -r and -w sizes to improve things. My understanding is: you should use UDP mounts if the servers are close together (i.e., one hub/switch between them, low latency) but use TCP mounts if they are far apart (i.e. many hops, high latency, lots of dropped packets). I don't know if specifying both -u and -t hurts anything. But definately search the archives, there was a LOT more useful information in the previous discussion. -- Bill Moran Potential Technologies http://www.potentialtech.com 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?3E46AB6F.1040708>