From: Harald Hannelius <harald@iki.fi>
To: linux-kernel@vger.kernel.org
Subject: tg3 bad performance, lots of hardware interrupts
Date: Thu, 27 Mar 2008 15:53:56 +0200 (EET) [thread overview]
Message-ID: <alpine.DEB.1.00.0803271532570.30549@penti.org> (raw)
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- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 216
Region 0: Memory at febf0000 (64-bit, non-prefetchable) [size=64K]
Expansion ROM at febe0000 [disabled] [size=64K]
Capabilities: [48] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable+ DSel=0 DScale=1 PME-
Capabilities: [50] Vital Product Data
Capabilities: [58] Message Signalled Interrupts: Mask- 64bit+ Queue=0/3 Enable+
Address: 00000000fee0300c Data: 4142
Capabilities: [d0] Express Endpoint IRQ 0
Device: Supported: MaxPayload 128 bytes, PhantFunc 0, ExtTag+
Device: Latency L0s <4us, L1 unlimited
Device: AtnBtn- AtnInd- PwrInd-
Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported-
Device: RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
Device: MaxPayload 128 bytes, MaxReadReq 4096 bytes
Link: Supported Speed 2.5Gb/s, Width x1, ASPM L0s L1, Port 0
Link: Latency L0s <4us, L1 <64us
Link: ASPM L0s L1 Enabled RCB 64 bytes CommClk+ ExtSynch-
Link: Speed 2.5Gb/s, Width x1
--
A: Top Posters! | s/y Charlotta |
Q: What is the most annoying thing on mailing lists? | FIN-2674 |
http://www.fe83.org/ Finn Express Purjehtijat ry | ============= |
Harald H Hannelius | harald (At) iki (dot) fi | GSM +358 50 594 1020
next reply other threads:[~2008-03-27 14:07 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-27 13:53 Harald Hannelius [this message]
2008-03-27 21:49 ` David Miller
2008-03-28 1:01 ` Michael Chan
2008-03-28 13:04 ` Harald Hannelius
2008-03-28 17:49 ` Michael Chan
2008-03-28 17:12 ` Jiri Kosina
2008-03-28 17:37 ` Harald Hannelius
2008-03-28 19:06 ` Michael Chan
2008-03-28 18:09 ` Harald Hannelius
2008-04-02 8:55 ` Harald Hannelius
2008-03-28 17:31 ` Harald Hannelius
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.1.00.0803271532570.30549@penti.org \
--to=harald@iki.fi \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®