Messages in this thread | | | Date | Tue, 13 Dec 2011 18:38:41 -0800 (PST) | From | David Rientjes <> | Subject | Re: [PATCH 1/3] slub: set a criteria for slub node partial adding |
| |
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.
| |