Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758565AbYC0OHX (ORCPT ); Thu, 27 Mar 2008 10:07:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755855AbYC0OHL (ORCPT ); Thu, 27 Mar 2008 10:07:11 -0400 Received: from penti.org ([193.167.33.200]:35012 "EHLO penti.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754420AbYC0OHK (ORCPT ); Thu, 27 Mar 2008 10:07:10 -0400 X-Greylist: delayed 792 seconds by postgrey-1.27 at vger.kernel.org; Thu, 27 Mar 2008 10:07:09 EDT Date: Thu, 27 Mar 2008 15:53:56 +0200 (EET) From: Harald Hannelius X-X-Sender: harald@penti.org To: linux-kernel@vger.kernel.org Subject: tg3 bad performance, lots of hardware interrupts Message-ID: User-Agent: Alpine 1.00 (DEB 882 2007-12-20) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3231 Lines: 79 Hi there, I experience a lot of hardware interrupts with a BCM5751 PCI-express NIC (tg3). modprobe tg3, ifconfig ethX up and friends makes the system unresponsive. Just having the interface up makes the system sluggish. Onboard forcedeth works fine (with the same cable). iperf gives me just 2Mbps on a 1Gbps ethernet. Load average near 1.0. top reports 40-50%hi (hardware interrupts) when generating traffic over that interface. The system is a Supermicro H8SMI-2 motherboard, HP EA833AA BROADCOM NETXTREME PCI-express NIC, 2GB RAM, Dual-Core opteron 2.8GHz. All of our other servers with broadcom NIC's work fine with tg3, but they aren't PCI-express. I have tried booting with pci=nomsi and pci=routeirq (BIOS with or without "pnp OS" defined). Ubuntu 7.10 live-cd same result. Haven't tried other OS'es. irq_balancing enabled. Kernel conf: http://www.iki.fi/~harald/kernconf.gz (9kB). Any hints on what to check for? Hardware or tg3 driverproblem? I would be glad to report more info, if needed. I have profiling support but I have never profiled a kernel before. I haven't got any other PCI-e NIC's to test with, yet. # uname -r 2.6.24.4 # dmesg|grep tg tg3.c:v3.86 (November 9, 2007) # lspci -vvv 07:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751 Gigabit Ethernet PCI Express (rev 21) Subsystem: Broadcom Corporation NetXtreme BCM5751 Gigabit Ethernet PCI Express Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR-