Messages in this thread | | | Date | Thu, 10 Aug 2006 15:13:05 +0900 | From | KAMEZAWA Hiroyuki <> | Subject | Re: [RFC] Simple Slab: A slab allocator with minimal meta information |
| |
On Thu, 10 Aug 2006 14:44:51 +0900 KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |