Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Aug 2005 23:21:28 -0500 (CDT)
From:      Mike Silbersack <silby@silby.com>
To:        Xin LI <delphij@frontfree.net>
Cc:        freebsd-performance@FreeBSD.org
Subject:   Re: [RFC] Bumping ufs.dirhash_maxmem to a larger value?
Message-ID:  <20050807232016.W9586@odysseus.silby.com>
In-Reply-To: <20050807185129.GA61807@frontfree.net>
References:  <20050807185129.GA61807@frontfree.net>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050807232016.W9586>