From owner-freebsd-arch Wed Feb 27 10: 0:31 2002 Delivered-To: freebsd-arch@freebsd.org Received: from avocet.prod.itd.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by hub.freebsd.org (Postfix) with ESMTP id 9855537B41C for ; Wed, 27 Feb 2002 10:00:28 -0800 (PST) Received: from pool0329.cvx22-bradley.dialup.earthlink.net ([209.179.199.74] helo=mindspring.com) by avocet.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16g8NJ-0007jj-00; Wed, 27 Feb 2002 10:00:21 -0800 Message-ID: <3C7D1E8E.98DAAC8C@mindspring.com> Date: Wed, 27 Feb 2002 09:59:42 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Kirk McKusick Cc: Jeff Roberson , arch@FreeBSD.ORG Subject: Re: Slab allocator References: <200202271644.g1RGi1i32186@beastie.mckusick.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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