From owner-freebsd-current@FreeBSD.ORG Thu Aug 25 21:25:31 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F1B9C16A41F for ; Thu, 25 Aug 2005 21:25:31 +0000 (GMT) (envelope-from MH@kernel32.de) Received: from crivens.unixoid.de (crivens.unixoid.de [81.169.171.191]) by mx1.FreeBSD.org (Postfix) with ESMTP id 825D343D45 for ; Thu, 25 Aug 2005 21:25:31 +0000 (GMT) (envelope-from MH@kernel32.de) Received: from localhost (localhost [127.0.0.1]) by crivens.unixoid.de (Postfix) with ESMTP id 58B184196; Thu, 25 Aug 2005 23:25:30 +0200 (CEST) Received: from crivens.unixoid.de ([127.0.0.1]) by localhost (crivens.unixoid.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 69269-15; Thu, 25 Aug 2005 23:25:25 +0200 (CEST) Received: from [192.168.100.144] (G9233.g.pppool.de [80.185.146.51]) by crivens.unixoid.de (Postfix) with ESMTP id 34FB03EDC; Thu, 25 Aug 2005 23:25:25 +0200 (CEST) Message-ID: <430E3743.3030108@kernel32.de> Date: Thu, 25 Aug 2005 23:25:23 +0200 From: Marian Hettwer User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mike Tancsa References: <430E06AA.2000907@kernel32.de> <6.2.3.4.0.20050825135916.07a19ac8@64.7.153.2> In-Reply-To: <6.2.3.4.0.20050825135916.07a19ac8@64.7.153.2> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: amavisd-new at unixoid.de Cc: freebsd-current@freebsd.org Subject: Re: filesystem performance with lots of small files X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Aug 2005 21:25:32 -0000 Hi Mike, Mike Tancsa wrote: > At 01:58 PM 25/08/2005, Marian Hettwer wrote: >=20 >> couldn't find any sysctl'=C2=B4s or kernel parameters. >> I'll report numbers, as soon as I have them. >> And yes, I disabled the debugging features in my kernel (WITNESS,=20 >> INVARIANTS ...) >> Besides, I know that 6-BETA is not about performance at all :) >> >> any tips on file system performance with small files, though ? >=20 >=20 > It might be hitting the dirhash max mem value. What does=20 > vfs.ufs.dirhash_maxmem and vfs.ufs.dirhash_mem show ? >=20 I didn't changed anything from the defaults... it looks like that: mhettwer@submaster-test$ sysctl vfs.ufs.dirhash_maxmem vfs.ufs.dirhash_maxmem: 2097152 mhettwer@submaster-test$ sysctl vfs.ufs.dirhash_mem vfs.ufs.dirhash_mem: 368622 By the way, the copy job of my small files finished, so here we go with=20 some small facts :) mhettwer@submaster-test$ sudo time find /usr/tmp/ | wc -l 133.81 real 2.01 user 3.95 sys 2904696 nearly three million files. quite a lot ... regards, Marian