From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pekka Enberg Subject: Re: Mainline kernel OLTP performance update Date: Fri, 23 Jan 2009 18:01:38 +0200 Message-ID: <1232726499.6094.103.camel@penberg-laptop> References: <200901161503.13730.nickpiggin@yahoo.com.au> <20090115201210.ca1a9542.akpm@linux-foundation.org> <200901161746.25205.nickpiggin@yahoo.com.au> <20090116065546.GJ31013@parisc-linux.org> <1232092430.11429.52.camel@ymzhang> <87sknjeemn.fsf@basil.nowhere.org> <1232428583.11429.83.camel@ymzhang> <1232613395.11429.122.camel@ymzhang> <1232615707.14549.6.camel@penberg-laptop> <1232616517.11429.129.camel@ymzhang> <1232617672.14549.25.camel@penberg-laptop> <1232679773.11429.155.camel@ymzhang> <4979692B.3050703@cs.helsinki.fi> <1232697998.6094.17.camel@penberg-laptop> <1232699401.11429.163.camel@ymzhang> <1232703989.6094.29.camel@penberg-laptop> <1232724691.6094.86.camel@penberg-laptop> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit Cc: "Zhang, Yanmin" , Andi Kleen , Matthew Wilcox , Nick Piggin , Andrew Morton , netdev@vger.kernel.org, Stephen Rothwell , matthew.r.wilcox@intel.com, chinang.ma@intel.com, linux-kernel@vger.kernel.org, sharad.c.tripathi@intel.com, arjan@linux.intel.com, suresh.b.siddha@intel.com, harita.chilukuri@intel.com, douglas.w.styner@intel.com, peter.xihong.wang@intel.com, hubert.nueckel@intel.com, chris.mason@oracle.com, srostedt@redhat.com, linux-scsi@vger.kernel.org, andrew.vasquez@qlogic.com, anirban.chakraborty@qlogic.com, Ingo Molnar To: Christoph Lameter Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Fri, 23 Jan 2009, Pekka Enberg wrote: > > I wonder why that doesn't happen already, actually. The slub_max_order > > know is capped to PAGE_ALLOC_COSTLY_ORDER ("3") by default and obviously > > order 3 should be as good fit as order 2 so 'fraction' can't be too high > > either. Hmm. On Fri, 2009-01-23 at 10:55 -0500, Christoph Lameter wrote: > The kmalloc-8192 is new. Look at slabinfo output to see what allocation > orders are chosen. Yes, yes, I know the new cache a result of my patch. I'm just saying that AFAICT, the existing logic should set the order to 3 but IIRC Yanmin said it's 2. Pekka