Re: vm_lowmem event handler for dirhash

From: Roman Divacky <rdivacky_at_freebsd.org>
Date: Wed, 27 May 2009 13:12:38 +0200
On Wed, May 27, 2009 at 12:36:49PM +0200, Nick Barkas wrote:
> I sent this out to fs_at_ last night, but it was suggested that I send it
> here for more eyes and potential testers.
> 
> 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 recommend
for the dirhash_maxmem sysctl?

   thnx!

   roman

Received on Wed May 27 2009 - 09:13:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:48 UTC