From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 19 Feb 2016 13:52:46 +0100 From: tlaronde@polynum.com To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-ID: <20160219125246.GA345@polynum.com> References: <20160218113017.GB2756@polynum.com> <49010da5-9c4e-4399-8fbe-e4dae715063f@email.android.com> MIME-Version: 1.0 In-Reply-To: <49010da5-9c4e-4399-8fbe-e4dae715063f@email.android.com> User-Agent: Mutt/1.5.24 (2015-08-30) Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: Re: [9fans] rtl8169 gbe slow Topicbox-Message-UUID: 85a941c6-ead9-11e9-9d60-3106f5b1d025 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 http://www.kergis.com/ http://www.arts-po.fr/ Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C