Memory allocation performance
julian at elischer.org
Sun Feb 3 15:20:45 PST 2008
Dag-Erling Smørgrav wrote:
> 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.
exactly.. FILO or LIFO (last in First out.)
More information about the freebsd-performance