Re: [PATCH 1/3] slub: set a criteria for slub node partial adding

From: David Rientjes
Date: Tue Dec 13 2011 - 21:38:43 EST


On Wed, 14 Dec 2011, Shaohua Li wrote:

> if vast majority of allocation needs picking from partial list of node,
> the list_lock will have contention too. But I'd say avoiding the slab
> thrashing does increase fastpath.

Right, that's why my 2009 patchset would attempt to grab the partial slab
with the highest number of free objects to a certain threshold before
falling back to others and it improved performance somewhat. This was
with the per-node partial lists, however, and the slowpath has been
significantly rewritten since then.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/