Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Oct 2002 12:16:17 -0700 (PDT)
From:      Nate Lawson <nate@root.org>
To:        arch@freebsd.org
Subject:   slab allocator performance?
Message-ID:  <Pine.BSF.4.21.0210091212360.14413-100000@root.org>

next in thread | raw e-mail | index | archive | help
John Baldwin wrote:
>>On 09-Oct-2002 Julian Elischer wrote:
>> there is a thread_allocator that allocates threads on demand.
>>
>> Actually the process ahs a couple of spare threads "Up its sleave"
>> so it doesn't have to go to teh thread allocator every time..
>
>Which kind of defeats the point of letting the slab allocator manage
>memory from a larger whole-view perspective. :-P

I've written a driver that used to use a private struct pool.  It
mallocs/frees about 120 bytes per 32KB transaction.  I'm curious how
others are using the allocator and what kind of performance/usage it is
best at.

-Nate


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?Pine.BSF.4.21.0210091212360.14413-100000>