Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1767466AbXECX2S (ORCPT ); Thu, 3 May 2007 19:28:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1767468AbXECX2R (ORCPT ); Thu, 3 May 2007 19:28:17 -0400 Received: from mga03.intel.com ([143.182.124.21]:51296 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1767466AbXECX2Q convert rfc822-to-8bit (ORCPT ); Thu, 3 May 2007 19:28:16 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.14,487,1170662400"; d="scan'208";a="223982848" X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT Subject: RE: Regression with SLUB on Netperf and Volanomark Date: Thu, 3 May 2007 16:28:12 -0700 Message-ID: <9D2C22909C6E774EBFB8B5583AE5291C02786032@fmsmsx414.amr.corp.intel.com> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Regression with SLUB on Netperf and Volanomark Thread-Index: AceN2reuayLAGQO4SBaenDm/mZI5fA== From: "Chen, Tim C" To: "Christoph Lameter" , "Tim Chen" CC: "Siddha, Suresh B" , "Zhang, Yanmin" , "Wang, Peter Xihong" , "Arjan van de Ven" , , X-OriginalArrivalTime: 03 May 2007 23:28:15.0592 (UTC) FILETIME=[B961A680:01C78DDA] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1691 Lines: 47 Christoph Lameter wrote: > Try to boot with > > slub_max_order=4 slub_min_objects=8 > > If that does not help increase slub_min_objects to 16. > We are still seeing a 5% regression on TCP streaming with slub_min_objects set at 16 and a 10% regression for Volanomark, after increasing slub_min_objects to 16 and setting slub_max_order=4 and using the 2.6.21-rc7-mm2 kernel. The performance between slub_min_objects=8 and 16 are similar. >> We found that for Netperf's TCP streaming tests in a loop back mode, >> the TCP streaming performance is about 7% worse when SLUB is enabled >> on >> 2.6.21-rc7-mm1 kernel (x86_64). This test have a lot of sk_buff >> allocation/deallocation. > > 2.6.21-rc7-mm2 contains some performance fixes that may or may not be > useful to you. We've switched to 2.6.21-rc7-mm2 in our tests now. >> >> For Volanomark, the performance is 7% worse for Woodcrest and 12% >> worse for Clovertown. > > SLUBs "queueing" is restricted to the number of objects that fit in > page order slab. SLAB can queue more objects since it has true queues. > Increasing the page size that SLUB uses may fix the problem but then > we run into higher page order issues. > > Check slabinfo output for the network slabs and see what order is > used. The number of objects per slab is important for performance. The order used is 0 for the buffer_head, which is the most used object. I think they are 104 bytes per object. 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/