Re: [RFC] Simple Slab: A slab allocator with minimal metainformation

From: KAMEZAWA Hiroyuki
Date: Thu Aug 10 2006 - 02:08:54 EST


On Thu, 10 Aug 2006 14:44:51 +0900
KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> wrote:
> > If you do that then you loose the cache hot advantage. It is advantageous
> > to initialize the object and then immediately use it. If you initialize it
> > before then the cacheline will be evicted and then brought back.
>
> hmm, I don't know precise analization of the perfromance benefit of slab on
> current (Linux + Fast CPU/Bus + Large Cache) systems. I'm grad if you show the
> performance of new "Simple Slab" next time.
>

BTW, in recent Linux, many objects are freed by call_rcu(hoo, dealyed_free_foo).
Objects are freed far after it was touched.
I think catching this kind of freeing will not boost performance by cache-hit if
reuse freed page (object).

-Kame

-
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/