Memory allocation performance

Alexander Motin mav at FreeBSD.org
Sat Feb 2 15:12:50 PST 2008


Robert Watson wrote:
> Basically, the goal would be 
> to make the pcpu cache FIFO as much as possible as that maximizes the 
> chances that the newly allocated object already has lines in the cache.  

Why FIFO? I think LIFO (stack) should be better for this goal as the 
last freed object has more chances to be still present in cache.

-- 
Alexander Motin


More information about the freebsd-performance mailing list