Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Oct 2011 10:50:17 +0200
From:      Ivan Voras <ivoras@freebsd.org>
To:        freebsd-fs@freebsd.org
Subject:   Re: dirhash and dynamic memory allocation
Message-ID:  <j7gq8f$uq3$1@dough.gmane.org>
In-Reply-To: <4E982C0E.2060900@quip.cz>
References:  <4E97FEDD.7060205@quip.cz> <j7938v$66s$1@dough.gmane.org> <4E982C0E.2060900@quip.cz>

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

[-- Attachment #1 --]
On 14/10/2011 14:33, Miroslav Lachman wrote:
> 
> 
> Ivan Voras wrote:
>> On 14/10/2011 11:20, Miroslav Lachman wrote:
>>> Hi all,
>>>
>>> I tried some tuning of dirhash on our servers and after googlig a bit, I
>>> found an old GSoC project wiki page about Dynamic Memory Allocation for
>>> Dirhash: http://wiki.freebsd.org/DirhashDynamicMemory
>>> Is there any reason not to use it / not commit it to HEAD?
>>
>> AFAIK it's sort-of already present. In 8-stable and recent kernels you
>> can give huge amounts of memory to dirhash via vfs.ufs.dirhash_maxmem
>> (but except in really large edge cases I don't think you *need* more
>> than 32 MB), and the kernel will scale-down or free the memory if not
>> needed.
> 
> Is this change documented somewhere? Maybe it could be noticed on
> DirhashDynamicMemory wiki page. Otherwise it seems as abandoned GSoC
> project.

I'm not touching the wiki page because I don't know really if the
functionality was committed from the GSoC project or from somewhere
else; what I did was much later and much smaller in scope.


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6b7E8ACgkQldnAQVacBcgHNQCgkhqum8SWEg2epPVLWg73sKvu
MVoAnjoQ6vkH5kDl/Ac/jvh41pLSzAak
=3uJw
-----END PGP SIGNATURE-----
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?j7gq8f$uq3$1>