From: Chris Adams <cmadams@hiwaay.net>
To: Francois Romieu <romieu@fr.zoreil.com>
Cc: netdev@vger.kernel.org, hayeswang <hayeswang@realtek.com>
Subject: Re: r8169 performance?
Date: Mon, 5 Dec 2011 08:54:54 -0600 [thread overview]
Message-ID: <20111205145454.GA26078@hiwaay.net> (raw)
In-Reply-To: <20111205064403.GA3426@electric-eye.fr.zoreil.com>
Once upon a time, Francois Romieu <romieu@fr.zoreil.com> said:
> Chris Adams <cmadams@hiwaay.net> :
> [...]
> > On the "problem" computer (on Fedora 16, kernel 3.1.2):
> >
> > [ 7.101106] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
> > [ 7.102665] r8169 0000:02:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
> > [ 7.107308] r8169 0000:02:00.0: setting latency timer to 64
> > [ 7.107370] r8169 0000:02:00.0: irq 42 for MSI/MSI-X
> > [ 7.107703] r8169 0000:02:00.0: eth0: RTL8168d/8111d at 0xffffc900112fc000, 00:19:66:f2:dc:0b, XID 081000c0 IRQ 42
> >
> > On the "okay" computer (on Fedora 14, kernel 2.6.35.14):
> >
> > [ 9.053574] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
> > [ 9.053594] r8169 0000:06:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
> > [ 9.053689] r8169 0000:06:00.0: setting latency timer to 64
> > [ 9.053740] r8169 0000:06:00.0: irq 47 for MSI/MSI-X
> > [ 9.053830] r8169 0000:06:00.0: eth0: RTL8168d/8111d at 0xffffc90012998000, 6c:f0:49:b7:67:91, XID 083000c0 IRQ 47
>
> Almost the same: RTL_GIGA_MAC_VER_25 versus RTL_GIGA_MAC_VER_26 (faster).
Ahh, my eyes didn't see that one bit difference.
> The only difference in the driver is the hw_phy_config part.
There's also a difference in the interrupt handling (looks like only in
the receive FIFO overflow case). Also, they load different firmware (so
I guess my problem could be firmware related, which I guess only RealTek
could find/fix).
I guess my question is this: is there a chance this can be solved with
driver changes, or should I just accept that the on-board NIC has poor
performance and install an add-in NIC?
--
Chris Adams <cmadams@hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.
next prev parent reply other threads:[~2011-12-05 14:55 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-04 21:10 r8169 performance? Chris Adams
2011-12-04 21:50 ` Eric Dumazet
2011-12-04 22:02 ` Chris Adams
2011-12-04 23:40 ` Francois Romieu
2011-12-05 0:46 ` Chris Adams
2011-12-05 6:44 ` Francois Romieu
2011-12-05 14:54 ` Chris Adams [this message]
2011-12-06 8:22 ` Francois Romieu
2011-12-07 4:19 ` Chris Adams
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=20111205145454.GA26078@hiwaay.net \
--to=cmadams@hiwaay.net \
--cc=hayeswang@realtek.com \
--cc=netdev@vger.kernel.org \
--cc=romieu@fr.zoreil.com \
/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;
as well as URLs for NNTP newsgroup(s).