From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Zhang, Yanmin" Subject: Re: Mainline kernel OLTP performance update Date: Sun, 01 Feb 2009 10:52:56 +0800 Message-ID: <1233456777.2604.2.camel@ymzhang> 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> <1232765728.11429.193.camel@ymzhang> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: Sender: netdev-owner@vger.kernel.org To: Christoph Lameter Cc: Pekka Enberg , 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 List-Id: linux-scsi@vger.kernel.org On Mon, 2009-01-26 at 12:36 -0500, Christoph Lameter wrote: > On Sat, 24 Jan 2009, Zhang, Yanmin wrote: >=20 > > But when trying to increased it to 4, I got: > > [root@lkp-st02-x8664 slab]# echo "3">kmalloc-8192/order > > [root@lkp-st02-x8664 slab]# echo "4">kmalloc-8192/order > > -bash: echo: write error: Invalid argument >=20 > This is because 4 is more than the maximum allowed order. You can > reconfigure that by setting >=20 > slub_max_order=3D5 >=20 > or so on boot. With =EF=BB=BFslub_max_order=3D5, the default order of=EF=BB=BF kmalloc= -8192 becomes 5. I tested it with netperf UDP-U-4k and the result difference from SLAB/SLQB is less than 1% which is really fluctuation.