From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764435AbXKNGhl (ORCPT ); Wed, 14 Nov 2007 01:37:41 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1764202AbXKNGh2 (ORCPT ); Wed, 14 Nov 2007 01:37:28 -0500 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:52554 "EHLO sunset.davemloft.net" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1764157AbXKNGh0 (ORCPT ); Wed, 14 Nov 2007 01:37:26 -0500 Date: Tue, 13 Nov 2007 22:37:26 -0800 (PST) Message-Id: <20071113.223726.40898879.davem@davemloft.net> To: nickpiggin@yahoo.com.au Cc: clameter@sgi.com, netdev@vger.kernel.org, herbert@gondor.apana.org.au, linux-kernel@vger.kernel.org Subject: Re: 2.6.24-rc2: Network commit causes SLUB performance regression with tbench From: David Miller In-Reply-To: <200711140514.28159.nickpiggin@yahoo.com.au> References: <200711140436.24492.nickpiggin@yahoo.com.au> <20071113.221242.153352652.davem@davemloft.net> <200711140514.28159.nickpiggin@yahoo.com.au> X-Mailer: Mew version 5.2 on Emacs 22.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org From: Nick Piggin Date: Wed, 14 Nov 2007 05:14:27 +1100 > On Wednesday 14 November 2007 17:12, David Miller wrote: > > Is your test system using HIGHMEM? > > > > That's one thing the page vector in the sk_buff can do a lot, > > kmaps. > > No, it's an x86-64, so no highmem. Ok. > What's also interesting is that SLAB apparently doesn't have this > condition. The first thing that sprung to mind is that SLAB caches > order > 0 allocations, while SLUB does not. However if anything, > that should actually favour the SLUB numbers if network is avoiding > order > 0 allocations. > > I'm doing some oprofile runs now to see if I can get any more info. Here are some other things you can play around with: 1) Monitor the values of skb->len and skb->data_len for packets going over loopback. 2) Try removing NETIF_F_SG in drivers/net/loopback.c's dev->feastures setting.