9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: tlaronde@polynum.com
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] rtl8169 gbe slow
Date: Fri, 19 Feb 2016 13:52:46 +0100	[thread overview]
Message-ID: <20160219125246.GA345@polynum.com> (raw)
In-Reply-To: <49010da5-9c4e-4399-8fbe-e4dae715063f@email.android.com>

On Thu, Feb 18, 2016 at 05:22:42AM -0800, erik quanstrom wrote:
> the 8169 driver is pretty fast.  I've measured it at more than 500mbps.
> it sounds like something else is misbehaving.  what does
> /dev/irqstat say.  I bet something is stuck.
>

Is /dev/irqstat a lapsus? Here are /dev/irqalloc and
/net/ether0/ifstats:

          3           0 debugpt
          7           0 mathemu
          8           0 doublefault
          9           0 mathover
         14           0 fault386
         15           0 unexpected
         16           0 matherror
         32           0 clock
         33           1 kbd
         35           3 sdE (iahci)
         38           6 floppy
         39           7 lpt
         42          10 ether0
         44          12 kbdaux

ifstats:

TxOk: 4483
RxOk: 7520
TxEr: 0
RxEr: 0
MissPkt: 0
FAE: 0
Tx1Col: 0
TxMCol: 0
RxOkPh: 7482
RxOkBrd: 28
RxOkMu: 10
TxAbt: 0
TxUndrn: 0
txdu: 0
tcpf: 0
udpf: 0
ipf: 0
fovf: 0
ierrs: 0
rer: 0
rdu: 0
punlc: 0
fovw: 0
tcr: 0x2f200700
rcr: 0x0000e70e
multicast: 10
phy:    1000 796d 001c c914 01e1 c5e1 000d 2801
        4e2e 0300 3800 0000 0000 0000 0000 3000
        01ee ac9c 0000 0000 8040 0006 4100 2100
        0000 8c00 0040 0106 217c 8fbc 0123 0000
rcv descrs processed at once:	highwater 2/255 curr 1 hitmax 0
xmit descr queue len:	highwater 0/31 curr 0 hitmax 0

Note: _this_ card is a PCIe supplementary one. There is another rtl
embedded in the motherboard that Plan9 does not recognize:

rtl8169: unknown mac 8168 4c000000
oui 0x732 phyno 1, macv = 0x2c000000 phyv = 0x0004
#l0: rtl8169: 1Gbps port 0xC000 irq 10: e8de2701f455

I have tried by disabling the embedded ether controller, the result is
the same.

Another kernel message for what is worth (since I don't know what it
means, I don't know if it's relevant):

i8042: fe returned to the ea command

--
        Thierry Laronde <tlaronde +AT+ polynum +dot+ com>
                     http://www.kergis.com/
                     http://www.arts-po.fr/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C



  parent reply	other threads:[~2016-02-19 12:52 UTC|newest]

Thread overview: 83+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-18 11:30 tlaronde
2016-02-18 13:22 ` erik quanstrom
2016-02-18 23:41   ` arisawa
2016-02-19  1:56     ` erik quanstrom
2016-02-19 15:17     ` erik quanstrom
2016-02-19 12:52   ` tlaronde [this message]
2016-02-19 15:13     ` erik quanstrom
2016-02-19 17:11       ` tlaronde
2016-02-20 10:32       ` tlaronde
2016-02-20 11:23         ` Kenny Lasse Hoff Levinsen
2016-02-20 12:11           ` tlaronde
2016-02-20 13:31             ` hiro
2016-02-20 14:01               ` tlaronde
2016-02-20 14:06                 ` lucio
2016-02-20 14:22                   ` tlaronde
2016-02-20 17:20                 ` erik quanstrom
2016-02-20 17:45                   ` tlaronde
2016-02-20 19:26                     ` erik quanstrom
2016-02-20 19:41                       ` Mark van Atten
2016-02-20 20:18                         ` tlaronde
2016-02-20 20:18                       ` tlaronde
2016-02-22  9:14                       ` tlaronde
2016-02-22  9:40                         ` Mark van Atten
2016-02-22 10:10                           ` tlaronde
2016-02-22 10:15                           ` lucio
2016-02-22 11:05                             ` tlaronde
2016-02-22 11:06                         ` Richard Miller
2016-02-22 11:40                           ` tlaronde
2016-02-22 12:00                             ` lucio
2016-02-22 12:16                               ` tlaronde
2016-02-22 12:17                             ` Richard Miller
2016-02-22 12:29                               ` Mark van Atten
2016-02-22 12:47                               ` tlaronde
2016-02-22 12:52                                 ` Mark van Atten
2016-02-22 13:02                                   ` tlaronde
2016-02-22 13:20                                     ` erik quanstrom
2016-02-22 15:05                                       ` tlaronde
2016-02-22 15:19                                         ` lucio
2016-02-22 15:34                                           ` tlaronde
2016-02-22 15:43                                             ` lucio
2016-02-22 13:13                                 ` tlaronde
2016-02-22 13:29                                   ` lucio
2016-02-22 13:39                                     ` David du Colombier
2016-02-22 14:39                                       ` rod
2016-02-22 15:12                                         ` tlaronde
2016-02-22 15:21                                           ` stanley lieber
2016-02-22 15:27                                             ` tlaronde
2016-02-22 15:45                                               ` erik quanstrom
2016-02-22 15:46                                               ` David du Colombier
2016-02-22 16:28                                                 ` Kenny Lasse Hoff Levinsen
2016-02-22 16:40                                                   ` lucio
2016-02-22 16:57                                                     ` Kenny Lasse Hoff Levinsen
2016-02-22 17:03                                                       ` [9fans] FP instructions in note handlers (Was: rtl8169 gbe slow) lucio
2016-02-23 10:36                                                         ` hiro
2016-02-22 16:45                                           ` [9fans] rtl8169 gbe slow rod
2016-02-22 16:57                                             ` tlaronde
2016-02-22 17:13                                               ` David du Colombier
2016-02-22 17:57                                                 ` Skip Tavakkolian
2016-02-23 10:34                                                 ` hiro
2016-02-23 12:24                                                   ` erik quanstrom
2016-02-23 12:30                                                     ` hiro
2016-02-23 12:37                                                       ` hiro
2016-02-23 12:40                                                         ` hiro
2016-02-23 12:48                                                           ` hiro
2016-02-23 15:16                                                             ` erik quanstrom
2016-02-23 17:27                                                               ` hiro
2016-02-23 15:17                                                         ` erik quanstrom
2016-02-23 17:24                                                           ` hiro
2016-02-23 17:38                                                             ` erik quanstrom
2016-02-23 17:50                                                               ` hiro
2016-02-23 18:16                                                                 ` erik quanstrom
2016-02-23 18:38                                                                   ` hiro
2016-02-23 19:19                                                                     ` erik quanstrom
2016-02-23 19:35                                                                       ` hiro
2016-02-23 20:21                                                                         ` tlaronde
2016-02-23 17:54                                                               ` Kenny Lasse Hoff Levinsen
2016-02-23 18:08                                                                 ` erik quanstrom
2016-02-23 17:48                                                             ` lucio
2016-02-23 17:52                                                               ` hiro
2016-02-23 15:18                                                       ` erik quanstrom
2016-02-22 15:44                                       ` erik quanstrom
2016-02-20 19:07                   ` tlaronde
2016-02-20 19:21                     ` erik quanstrom

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=20160219125246.GA345@polynum.com \
    --to=tlaronde@polynum.com \
    --cc=9fans@9fans.net \
    /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).