Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Feb 2002 09:59:42 -0800
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Kirk McKusick <mckusick@mckusick.com>
Cc:        Jeff Roberson <jroberson@chesapeake.net>, arch@FreeBSD.ORG
Subject:   Re: Slab allocator
Message-ID:  <3C7D1E8E.98DAAC8C@mindspring.com>
References:  <200202271644.g1RGi1i32186@beastie.mckusick.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Kirk McKusick wrote:
> Your slab allocator work looks very interesting. Given that
> the performance is comparable to what we are currently running,
> it seems like a big step forward.
> 
> The current statistics that I find most useful are (in order), the
> number of current allocations, the high watermark for allocations,
> and the total number of allocations made. The number of current
> allocations needs to be correct and should be done under a lock.
> The high watermark and total number of allocations need not be
> precisely correct, so could well be done without a lock. The
> occational missed count, or a slightly low high watermark would
> not much matter.

Totally agree with everything in this post, particularly
the stats locks being unnecessary.

-- Terry

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C7D1E8E.98DAAC8C>