NetBSD-Users archive

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

Re: Testing memory performance



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.

Greetings,
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index