Re: ZFS kmem_map too small.

From: Craig Boston <cb_at_severious.net>
Date: Mon, 8 Oct 2007 11:33:49 -0500
On Mon, Oct 08, 2007 at 02:15:23PM +0200, Pawel Jakub Dawidek wrote:
> It's a hack, yes, but allows to mitigate the problem quite well. I'm
> looking for a solution that can be used for 7.0 before we find a better
> fix.

Um, tsleep()ing when M_NOWAIT is set?  Yes, I'd call that quite a hack
:)

Sorry to spam the thread again, but one thing I noticed is that zfs does
an awful lot of allocations of various sizes:

$ uptime
11:30AM  up 2 days, 18:06, 11 users, load averages: 0.05, 0.12, 0.15
(was idle most of the weekend)

$ vmstat -m | grep solaris
      solaris 83176 341456K       - 53216607  16,32,64,128,256,512,1024,2048,4096

I'm not completely up-to-date on what algorithm the kernel allocator is
using these days, but is it possible that kernel memory is getting
fragmented by all of those allocations?

Craig
Received on Mon Oct 08 2007 - 14:33:51 UTC

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