NFS small files
phessler at coverity.com
Thu Mar 10 00:16:19 GMT 2005
On Wed, 09 Mar 2005 17:31:31 -0600
Jon Noack <noackjr at alumni.rice.edu> wrote:
:Peter Hessler wrote:
:> On Tue, 08 Mar 2005 20:24:56 -0600
:> Eric Anderson <anderson at 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.
More information about the freebsd-performance