From owner-freebsd-performance@FreeBSD.ORG Wed Mar 9 23:31:49 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 D375716A4CE for ; Wed, 9 Mar 2005 23:31:49 +0000 (GMT) Received: from smtp801.mail.sc5.yahoo.com (smtp801.mail.sc5.yahoo.com [66.163.168.180]) by mx1.FreeBSD.org (Postfix) with SMTP id AF78243D58 for ; Wed, 9 Mar 2005 23:31:49 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) Received: from unknown (HELO optimator.noacks.org) (noacks@swbell.net@70.240.225.210 with login) by smtp801.mail.sc5.yahoo.com with SMTP; 9 Mar 2005 23:31:48 -0000 Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id C0C8C61AD; Wed, 9 Mar 2005 17:31:47 -0600 (CST) Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07368-04; Wed, 9 Mar 2005 17:31:45 -0600 (CST) Received: from [127.0.0.1] (optimator [192.168.1.11]) by optimator.noacks.org (Postfix) with ESMTP id 3301A60CF; Wed, 9 Mar 2005 17:31:45 -0600 (CST) Message-ID: <422F8753.50200@alumni.rice.edu> Date: Wed, 09 Mar 2005 17:31:31 -0600 From: Jon Noack User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Peter Hessler References: <20050309005628.5C6D1908B8@coverity.dreamhost.com> <422E5E78.3000703@centtech.com> <20050309145149.602e9ed2@leela.theapt.org> In-Reply-To: <20050309145149.602e9ed2@leela.theapt.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at noacks.org cc: freebsd-performance@freebsd.org Subject: Re: NFS small files X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2005 23:31:49 -0000 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. Jon