Date: Wed, 09 Mar 2005 17:31:31 -0600 From: Jon Noack <noackjr@alumni.rice.edu> To: Peter Hessler <phessler@coverity.com> Cc: freebsd-performance@freebsd.org Subject: Re: NFS small files Message-ID: <422F8753.50200@alumni.rice.edu> In-Reply-To: <20050309145149.602e9ed2@leela.theapt.org> References: <20050309005628.5C6D1908B8@coverity.dreamhost.com> <422E5E78.3000703@centtech.com> <20050309145149.602e9ed2@leela.theapt.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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. Jon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?422F8753.50200>