Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753004AbYKSXLz (ORCPT ); Wed, 19 Nov 2008 18:11:55 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753170AbYKSXLl (ORCPT ); Wed, 19 Nov 2008 18:11:41 -0500 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:46501 "EHLO sunset.davemloft.net" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1753104AbYKSXLi (ORCPT ); Wed, 19 Nov 2008 18:11:38 -0500 Date: Wed, 19 Nov 2008 15:11:38 -0800 (PST) Message-Id: <20081119.151138.93409143.davem@davemloft.net> To: hawk@diku.dk Cc: jdb@comx.dk, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: NIU driver: Sun x8 Express Quad Gigabit Ethernet Adapter (perf + regression IRQs) From: David Miller In-Reply-To: References: <1226572171.6834.87.camel@localhost.localdomain> <20081113.141513.116537651.davem@davemloft.net> X-Mailer: Mew version 6.1 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 List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1227 Lines: 33 From: Jesper Dangaard Brouer Date: Wed, 19 Nov 2008 23:58:12 +0100 (CET) > Well that was not the real cause of the performance loss. Because > on kernel 2.6.27 I get really good performance (900-1200kpps) > compared to 2.6.28 (git net-2.6). > > The cause of this problem (tracked down together with Robert Olsson) > is that on 2.6.28 I have a lot less IRQs available. It seems max 34 > IRQs. > > Due the reduced number of IRQs the NIU driver cannot get enough IRQs > to the interfaces, and starts to use "IO-APIC" based IRQs. This is almost certainly related to the driver unload bug. I know you ran into unbuildable/unbootable kernels during a bisect, but you really need to track down this regression. There were a lot of IRQ changes, especially on x86. The sequence is something like: 1) dyn irqs 2) APIC/IO_APIC handling integration 3) by-hand REVERT of dyn irqs, it was done by hand in order to not lose the #2 changes 4) interrupt remapping support -- 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/