Date: Sun, 7 Aug 2005 21:43:38 +0000 From: Darren Reed <darrenr@hub.freebsd.org> To: freebsd-performance@FreeBSD.org Subject: Re: [RFC] Bumping ufs.dirhash_maxmem to a larger value? Message-ID: <20050807214338.GA34438@hub.freebsd.org> 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, Aug 08, 2005 at 02:51:29AM +0800, Xin LI wrote: ... > My proposal is to increase the default dirhash_maxmem value to at least > 32MB or 64MB. Any objections? > > Cons for this, discussed in -developer: > - dirhash does not implements automatical mechanism to reduce memory > usage in response to system memory pressure, and benefits mainly to > large directories, e.g. Maildirs. So why not make the determination of "dirhash_maxmem" the result of some calculation(s) that takes into account RAM size, etc ? The obvious lesson here is that picking a number to be a limit based on the current size of machines fails the test of time. Darren
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050807214338.GA34438>