Memory allocation performance

Dag-Erling Smørgrav des at des.no
Sun Feb 3 04:04:58 PST 2008


Julian Elischer <julian at elischer.org> writes:
> Robert Watson <rwatson at FreeBSD.org> writes:
> > be a good time to try to revalidate that.  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.  It's a fairly trivial tweak to the UMA allocation code.
> you mean FILO or LIFO right?

Uh, no.  You want to reuse the last-freed object, as it is most likely
to still be in cache.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-hackers mailing list