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>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig77B17ED0F6D5B60FA9E29D3C Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 14/10/2011 14:33, Miroslav Lachman wrote: >=20 >=20 > 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 f= or >>> 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. >=20 > 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. --------------enig77B17ED0F6D5B60FA9E29D3C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----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----- --------------enig77B17ED0F6D5B60FA9E29D3C--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?j7gq8f$uq3$1>