NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Testing memory performance



Michael van Elst <mlelstv%serpens.de@localhost> writes:

> On Tue, Nov 20, 2018 at 10:50:13AM -0500, Greg Troxel wrote:
>> 
>> Michael van Elst <mlelstv%serpens.de@localhost> writes:
>> > There is a global lock for the page freelist.
>> 
>> I wonder if using a pool-type structure would be feasible.  That might
>> fix almost all of the slowness.
>
> You need a per-cpu freelist and some mechanism to steal from other
> freelists. Ideally that also includes something to optimize for NUMA.

I thought we were using a pool allocator that had per-cpu freelists,
derived from Solaris and

  https://www.usenix.org/legacy/event/usenix01/bonwick.html

but maybe I am off on that.


Home | Main Index | Thread Index | Old Index