From owner-freebsd-performance@FreeBSD.ORG Wed Mar 9 01:40:43 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 654F116A4CE for ; Wed, 9 Mar 2005 01:40:43 +0000 (GMT) Received: from priv-edtnes40.telusplanet.net (outbound05.telus.net [199.185.220.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD26643D1F for ; Wed, 9 Mar 2005 01:40:42 +0000 (GMT) (envelope-from pfak@telus.net) Received: from [192.168.1.253] (really [64.180.103.26]) by priv-edtnes40.telusplanet.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP <20050309014042.NFGH28142.priv-edtnes40.telusplanet.net@[192.168.1.253]>; Tue, 8 Mar 2005 18:40:42 -0700 Message-ID: <422E541C.8040108@telus.net> Date: Tue, 08 Mar 2005 17:40:44 -0800 From: Peter Kieser User-Agent: Mozilla Thunderbird 0.6+ (Windows/20050216) MIME-Version: 1.0 To: Peter Hessler References: <20050309005628.5C6D1908B8@coverity.dreamhost.com> In-Reply-To: <20050309005628.5C6D1908B8@coverity.dreamhost.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-performance@freebsd.org 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: Wed, 09 Mar 2005 01:40:43 -0000 Copying single files are always going to take longer, because the drive has to seek more thus latency is introduced. --Peter 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. > >/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 >_______________________________________________ >freebsd-performance@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-performance >To unsubscribe, send any mail to "freebsd-performance-unsubscribe@freebsd.org" > > >