From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 10 Jul 2007 07:02:24 -0500 From: Matt Mackall Subject: Re: [patch 09/10] Remove the SLOB allocator for 2.6.23 Message-ID: <20070710120224.GP11115@waste.org> References: <20070708034952.022985379@sgi.com> <20070708035018.074510057@sgi.com> <20070708075119.GA16631@elte.hu> <20070708110224.9cd9df5b.akpm@linux-foundation.org> <4691A415.6040208@yahoo.com.au> <84144f020707090404l657a62c7x89d7d06b3dd6c34b@mail.gmail.com> <469342DC.8070007@yahoo.com.au> <84144f020707100231p5013e1aer767562c26fc52eeb@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <84144f020707100231p5013e1aer767562c26fc52eeb@mail.gmail.com> Sender: owner-linux-mm@kvack.org Return-Path: To: Pekka Enberg Cc: Nick Piggin , Christoph Lameter , Andrew Morton , Ingo Molnar , linux-kernel@vger.kernel.org, linux-mm@kvack.org, suresh.b.siddha@intel.com, corey.d.gough@intel.com, Denis Vlasenko , Erik Andersen List-ID: 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 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 a??init_kmem_cache_nodea??: mm/slub.c:1873: error: a??struct kmem_cache_nodea?? has no member named a??fulla?? -- Mathematics is the supreme nostalgia of our time. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org