Date: Wed, 9 Mar 2005 16:14:31 -0800 From: Peter Hessler <phessler@coverity.com> To: freebsd-performance@freebsd.org Subject: Re: NFS small files Message-ID: <20050309161431.3a97c0dd@leela.theapt.org> In-Reply-To: <422F8753.50200@alumni.rice.edu> References: <20050309005628.5C6D1908B8@coverity.dreamhost.com> <422E5E78.3000703@centtech.com> <20050309145149.602e9ed2@leela.theapt.org> <422F8753.50200@alumni.rice.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 09 Mar 2005 17:31:31 -0600 Jon Noack <noackjr@alumni.rice.edu> wrote: :Peter Hessler wrote: :> On Tue, 08 Mar 2005 20:24:56 -0600 :> Eric Anderson <anderson@centtech.com> wrote: :> :Peter Hessler wrote: :> :> I'm setting up an NFS server to be used for compiling, and it seems :that> :> while speeds are acceptable for large files, small files take much :> :> longer than expected. :> :> :> :> Copying 10000 16K files (in a directory) takes 54seconds, while :copying> :> a 170M single file takes 5s. :> :> :> :> Are there any tricks for speeding up small file performance? I'm :> :> willing to give up large file performance. :> : :> :What mount options are you using on the client? :> :> nfsvers=3,tcp,noac,intr,lock,rsize=65536,wsize=65536 on linux and freebsd :> clients. No speed difference between udp and tcp. : :I don't see some of those in mount_nfs(8): :nfsvers=3 -> nfsv3 :noac -> ? (does this option exist on FreeBSD?) :lock -> lockd (which is the default) :rsize=65536 -> -r=65536 :wsize=65536 -> -w=65536 : :It is possible the documentation is not complete and those options are :perfectly valid. If so, I apologize. : Yea, sorry about that. I did a cut-n-paste from the machine I was activly working on (Linux), but the FreeBSD (and other clients) had the appropriate syntax for their systems. :Jon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050309161431.3a97c0dd>