From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx178.postini.com [74.125.245.178]) by kanga.kvack.org (Postfix) with SMTP id 52C3B6B02DC for ; Wed, 14 Dec 2011 09:53:44 -0500 (EST) Date: Wed, 14 Dec 2011 08:53:41 -0600 (CST) From: Christoph Lameter Subject: RE: [PATCH 1/3] slub: set a criteria for slub node partial adding In-Reply-To: Message-ID: References: <1322814189-17318-1-git-send-email-alex.shi@intel.com> <1323419402.16790.6105.camel@debian> <6E3BC7F7C9A4BF4286DD4C043110F30B67236EED18@shsmsx502.ccr.corp.intel.com> <1323842761.16790.8295.camel@debian> <1323845054.2846.18.camel@edumazet-laptop> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Pekka Enberg Cc: Eric Dumazet , "Alex,Shi" , David Rientjes , "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" On Wed, 14 Dec 2011, Pekka Enberg wrote: > On Wed, 14 Dec 2011, Eric Dumazet wrote: > > We should try to batch things a bit, instead of doing a very small unit > > of work in slow path. > > > > We now have a very fast fastpath, but inefficient slow path. > > > > SLAB has a litle cache per cpu, we could add one to SLUB for freed > > objects, not belonging to current slab. This could avoid all these > > activate/deactivate overhead. > > Yeah, this is definitely worth looking at. We have been down this road repeatedly. Nick tried it, I tried it and neither got us to something we liked. Please consult the archives. There was a whole patch series last year that I did introducing per cpu caches which ended up in the "unified" patches. See the archives for the various attempts please. -- 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/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org