From owner-freebsd-performance@FreeBSD.ORG Thu Mar 10 00:16:19 2005 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 51F5416A4CE for ; Thu, 10 Mar 2005 00:16:19 +0000 (GMT) Received: from coverity.dreamhost.com (coverity.dreamhost.com [66.33.192.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F9EC43D49 for ; Thu, 10 Mar 2005 00:16:19 +0000 (GMT) (envelope-from phessler@coverity.com) Received: from leela.theapt.org (piro.theapt.org [208.201.244.164]) by coverity.dreamhost.com (Postfix) with ESMTP id CCFD89089D for ; Wed, 9 Mar 2005 16:16:18 -0800 (PST) Date: Wed, 9 Mar 2005 16:14:31 -0800 From: Peter Hessler To: freebsd-performance@freebsd.org 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> X-Mailer: Sylpheed version 0.9.9claws (GTK+ 1.2.10; powerpc-unknown-openbsd3.6) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: NFS small files X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Mar 2005 00:16:19 -0000 On Wed, 09 Mar 2005 17:31:31 -0600 Jon Noack wrote: :Peter Hessler wrote: :> On Tue, 08 Mar 2005 20:24:56 -0600 :> Eric Anderson 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