On Tue, Jul 10, 2007 at 12:31:40PM +0300, Pekka Enberg wrote: > Hi Nick, > > Pekka J Enberg wrote: > >> That's 92 KB advantage for SLUB with debugging enabled and 240 KB when > >> debugging is disabled. > > On 7/10/07, Nick Piggin <nickpiggin@yahoo.com.au> wrote: > >Interesting. What kernel version are you using? > > Linus' git head from yesterday so the results are likely to be > sensitive to workload and mine doesn't represent real embedded use. Using 2.6.22-rc6-mm1 with a 64MB lguest and busybox, I'm seeing the following as the best MemFree numbers after several boots each: SLAB: 54796 SLOB: 55044 SLUB: 53944 SLUB: 54788 (debug turned off) These numbers bounce around a lot more from boot to boot than I remember, so take these numbers with a grain of salt. Disabling the debug code in the build gives this, by the way: mm/slub.c: In function ‘init_kmem_cache_node’: mm/slub.c:1873: error: ‘struct kmem_cache_node’ has no member named ‘full’ -- Mathematics is the supreme nostalgia of our time. - 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/
- Follow-Ups:
- Re: [patch 09/10] Remove the SLOB allocator for 2.6.23
- From: Christoph Lameter <clameter@sgi.com>
- Re: [patch 09/10] Remove the SLOB allocator for 2.6.23
- From: Pekka J Enberg <penberg@cs.helsinki.fi>
- Re: [patch 09/10] Remove the SLOB allocator for 2.6.23
- References:
- [patch 00/10] [RFC] SLUB patches for more functionality, performance and maintenance
- From: Christoph Lameter <clameter@sgi.com>
- [patch 09/10] Remove the SLOB allocator for 2.6.23
- From: Christoph Lameter <clameter@sgi.com>
- Re: [patch 09/10] Remove the SLOB allocator for 2.6.23
- From: Ingo Molnar <mingo@elte.hu>
- Re: [patch 09/10] Remove the SLOB allocator for 2.6.23
- From: Andrew Morton <akpm@linux-foundation.org>
- Re: [patch 09/10] Remove the SLOB allocator for 2.6.23
- From: Nick Piggin <nickpiggin@yahoo.com.au>
- Re: [patch 09/10] Remove the SLOB allocator for 2.6.23
- From: "Pekka Enberg" <penberg@cs.helsinki.fi>
- Re: [patch 09/10] Remove the SLOB allocator for 2.6.23
- From: Christoph Lameter <clameter@sgi.com>
- Re: [patch 09/10] Remove the SLOB allocator for 2.6.23
- From: Pekka J Enberg <penberg@cs.helsinki.fi>
- Re: [patch 09/10] Remove the SLOB allocator for 2.6.23
- From: Nick Piggin <nickpiggin@yahoo.com.au>
- Re: [patch 09/10] Remove the SLOB allocator for 2.6.23
- From: "Pekka Enberg" <penberg@cs.helsinki.fi>
- [patch 00/10] [RFC] SLUB patches for more functionality, performance and maintenance
- Prev by Date: Re: Determine version of kernel that produced vmcore
- Next by Date: Re: [PATCH 4/16] Change data structures for pid namespaces
- Previous by thread: Re: [patch 09/10] Remove the SLOB allocator for 2.6.23
- Next by thread: Re: [patch 09/10] Remove the SLOB allocator for 2.6.23
- Index(es):
![]() |