Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Mar 2005 16:56:28 -0800
From:      Peter Hessler <phessler@coverity.com>
To:        freebsd-performance@freebsd.org
Subject:   NFS small files
Message-ID:  <20050309005628.5C6D1908B8@coverity.dreamhost.com>

next in thread | raw e-mail | index | archive | help
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.

/etc/sysctl.conf:
 vfs.vmiodirenable=1
 kern.ipc.somaxconn=2048
 kern.maxfiles=65536
 net.isr.enable=1

/boot/loader.conf:
 kern.ipc.nmbclusters=32768

Kernel Conf:
 include GENERIC
 ident NFS
 options DEVICE_POLLING
 options HZ=1000



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