Re: [patch 21/21] slab defrag: Obsolete SLAB

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andi Kleen
Date: Wednesday, May 14, 2008 - 10:49 am

Christoph Lameter wrote:


iirc profiling analysis showed that the problem was the page lock
serialization (in particular the slab_lock() in __slab_free). That
was on 2.6.24.2


Well in the benchmark it is slower.



Ignoring NUMA is no option unfortunately. And with integrated memory
controller many of the remote CPU frees are off node.


I think the problem is that this atomic operation thrashes cache lines
around. Really counting cycles on instructions is not that interesting,
but minimizing the cache thrashing is. And for that it looks like slub
is worse.


What is the big problem of having a batched free queue? If the expiry
is done at a good bounded time (e.g. on interrupt exit or similar)
locally on the CPU it shouldn't be a big issue, should it?

-Andi
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 21/21] slab defrag: Obsolete SLAB, Christoph Lameter, (Fri May 9, 8:08 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Andi Kleen, (Sat May 10, 2:53 am)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Rik van Riel, (Sat May 10, 7:15 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, KOSAKI Motohiro, (Mon May 12, 12:38 am)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Pekka Enberg, (Mon May 12, 12:54 am)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Andi Kleen, (Mon May 12, 3:08 am)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Pekka Enberg, (Mon May 12, 3:23 am)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Christoph Lameter, (Wed May 14, 10:29 am)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Christoph Lameter, (Wed May 14, 10:30 am)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Andi Kleen, (Wed May 14, 10:49 am)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Christoph Lameter, (Wed May 14, 11:03 am)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Christoph Lameter, (Wed May 14, 11:05 am)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Matt Mackall, (Wed May 14, 11:18 am)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Christoph Lameter, (Wed May 14, 12:21 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Matt Mackall, (Wed May 14, 12:49 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Christoph Lameter, (Wed May 14, 1:33 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Christoph Lameter, (Wed May 14, 1:46 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Matthew Wilcox, (Wed May 14, 1:58 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Christoph Lameter, (Wed May 14, 2:00 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Matt Mackall, (Wed May 14, 2:02 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Matthew Wilcox, (Wed May 14, 2:21 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Christoph Lameter, (Wed May 14, 2:26 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Christoph Lameter, (Wed May 14, 2:33 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Matthew Wilcox, (Wed May 14, 2:43 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Christoph Lameter, (Wed May 14, 2:53 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Matt Mackall, (Wed May 14, 2:54 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Matthew Wilcox, (Wed May 14, 3:00 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Christoph Lameter, (Wed May 14, 3:32 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Christoph Lameter, (Wed May 14, 3:34 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Zhang, Yanmin, (Wed May 14, 8:26 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Christoph Lameter, (Thu May 15, 10:05 am)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Christoph Lameter, (Thu May 15, 10:15 am)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Matthew Wilcox, (Thu May 15, 10:49 am)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Christoph Lameter, (Thu May 15, 10:58 am)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Matthew Wilcox, (Thu May 15, 11:13 am)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Eric Dumazet, (Thu May 15, 11:19 am)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Vegard Nossum, (Thu May 15, 11:29 am)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Christoph Lameter, (Thu May 15, 11:43 am)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Matthew Wilcox, (Thu May 15, 11:51 am)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Christoph Lameter, (Thu May 15, 12:09 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Matthew Wilcox, (Thu May 15, 12:29 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Matthew Wilcox, (Thu May 15, 1:14 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Pekka Enberg, (Thu May 15, 1:30 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Zhang, Yanmin, (Thu May 15, 10:16 pm)
Re: [patch 21/21] slab defrag: Obsolete SLAB, Christoph Lameter, (Fri May 16, 12:06 pm)