vm_lowmem event handler for dirhash
rdivacky at freebsd.org
Wed May 27 11:13:29 UTC 2009
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.
> 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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20090527/4a1361be/attachment.pgp
More information about the freebsd-current