From owner-freebsd-performance@FreeBSD.ORG Mon Aug 8 04:21:31 2005 Return-Path: X-Original-To: freebsd-performance@FreeBSD.org 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 84F3216A41F for ; Mon, 8 Aug 2005 04:21:31 +0000 (GMT) (envelope-from silby@silby.com) Received: from relay01.pair.com (relay01.pair.com [209.68.5.15]) by mx1.FreeBSD.org (Postfix) with SMTP id 0B16F43D46 for ; Mon, 8 Aug 2005 04:21:30 +0000 (GMT) (envelope-from silby@silby.com) Received: (qmail 24036 invoked from network); 8 Aug 2005 04:21:29 -0000 Received: from unknown (HELO localhost) (unknown) by unknown with SMTP; 8 Aug 2005 04:21:29 -0000 X-pair-Authenticated: 209.68.2.70 Date: Sun, 7 Aug 2005 23:21:28 -0500 (CDT) From: Mike Silbersack To: Xin LI In-Reply-To: <20050807185129.GA61807@frontfree.net> Message-ID: <20050807232016.W9586@odysseus.silby.com> References: <20050807185129.GA61807@frontfree.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-performance@FreeBSD.org Subject: Re: [RFC] Bumping ufs.dirhash_maxmem to a larger value? X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Aug 2005 04:21:31 -0000 On Mon, 8 Aug 2005, Xin LI wrote: > [Bcc'ed to -developers@, so this can be discussed in a public list] > > Hi, > > It seems that vfs.ufs.dirhash_maxmem is set to 2MB. I think this value > is slightly too small for modern machines: > > My proposal is to increase the default dirhash_maxmem value to at least > 32MB or 64MB. Any objections? Scale it to the kernel map size by throwing something in the init_param3 function inside subr_param.c. That way all you have to do is put a floor on it, no need to worry about putting a ceiling on it. Mike "Silby" Silbersack