[RFC] Bumping ufs.dirhash_maxmem to a larger value?

Mike Silbersack silby at silby.com
Mon Aug 8 04:21:31 GMT 2005


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


More information about the freebsd-performance mailing list