Date: Wed, 27 May 2009 13:12:38 +0200 From: Roman Divacky <rdivacky@freebsd.org> To: Nick Barkas <snb@freebsd.org> Cc: freebsd-current@freebsd.org Subject: Re: vm_lowmem event handler for dirhash Message-ID: <20090527111238.GA2000@freebsd.org> In-Reply-To: <20090527103648.GA61454@ebi.local> References: <20090527103648.GA61454@ebi.local>
next in thread | previous in thread | raw e-mail | index | archive | help
--fdj2RfSjLxBAspz7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 27, 2009 at 12:36:49PM +0200, Nick Barkas wrote: > I sent this out to fs@ last night, but it was suggested that I send it > here for more eyes and potential testers. >=20 > Hello > Some time during the next week or so, I plan on committing the attached > patch. It adds a vm_lowmem event handler to the dirhash code in UFS2 so > that dirhashes will be deleted when the system is low on memory. This > allows one to increase the maximum amount of memory available for > dirhash on machines that have memory to spare (via the > vfs.ufs.dirhash_maxmem sysctl), and hopefully just improving behaviour > in low memory situations. I worked on this last year for the summer of > code with David Malone as my mentor. cool! do you have any performance numbers? graphs? :) what value do you rec= ommend for the dirhash_maxmem sysctl? thnx! roman --fdj2RfSjLxBAspz7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAkodICUACgkQLVEj6D3CBEzxZwCfb9df4E/E0BpYOHuQccLDyFQS slgAn1gTzcOMgcrTLSzZdHn/khOYbmON =93av -----END PGP SIGNATURE----- --fdj2RfSjLxBAspz7--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090527111238.GA2000>