Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934475AbXEHBcx (ORCPT ); Mon, 7 May 2007 21:32:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S934425AbXEHBct (ORCPT ); Mon, 7 May 2007 21:32:49 -0400 Received: from mga05.intel.com ([192.55.52.89]:15235 "EHLO fmsmga101.fm.intel.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S934383AbXEHBcs (ORCPT ); Mon, 7 May 2007 21:32:48 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.14,502,1170662400"; d="scan'208";a="243141492" Subject: RE: Regression with SLUB on Netperf and Volanomark From: Tim Chen Reply-To: tim.c.chen@linux.intel.com To: Christoph Lameter Cc: "Chen, Tim C" , "Siddha, Suresh B" , "Zhang, Yanmin" , "Wang, Peter Xihong" , Arjan van de Ven , linux-kernel@vger.kernel.org, linux-mm@kvack.org In-Reply-To: References: <9D2C22909C6E774EBFB8B5583AE5291C02786032@fmsmsx414.amr.corp.intel.com> <1178322083.23795.217.camel@localhost.localdomain> Content-Type: text/plain Organization: Intel Date: Mon, 07 May 2007 17:40:34 -0700 Message-Id: <1178584834.15701.18.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-8) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1569 Lines: 35 On Fri, 2007-05-04 at 18:02 -0700, Christoph Lameter wrote: > On Fri, 4 May 2007, Tim Chen wrote: > > > On Thu, 2007-05-03 at 18:45 -0700, Christoph Lameter wrote: > > > Hmmmm.. One potential issues are the complicated way the slab is > > > handled. Could you try this patch and see what impact it has? > > > > > The patch boost the throughput of TCP_STREAM test by 5%, for both slab > > and slub. But slab is still 5% better in my tests. > > Really? buffer head handling improves TCP performance? I think you have > run to run variances. I need to look at this myself. I think the object of interest should be sk_buff, not buffer_head. I made a mistake of accidentally using another config after applying your buffer head patch. I compared the kernel again under the same config, with and without the buffer_head patch. There's no boost to TCP_STREAM test from the patch. So things make sense again. My apology for the error. However, the output from TCP_STREAM is quite stable. I am still seeing a 4% difference between the SLAB and SLUB kernel. Looking at the L2 cache miss rate with emon, I saw 6% more cache miss on the client side with SLUB. The server side has the same amount of cache miss. This is test under SMP mode with client and server bound to different core on separate package. Thanks. Tim - 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/