[Kernel-packages] [Bug 1880076] Re: ubuntu 20.4 - retransmitts with r8169

2020-07-15 Thread Jeremy Elson
I am having an almost identical issue with Ubuntu 20.04, kernel 5.4.0-40-generic. I believe it is related to the ethernet driver. I have two almost identical computers, both running 5.4.0-40. The bad one has the following driver: eth0: RTL8168h/8111h, 00:e4:4f:68:0e:77, XID 541, IRQ 126 On this c

[Kernel-packages] [Bug 1880076] Re: ubuntu 20.4 - retransmitts with r8169

2020-07-15 Thread Jeremy Elson
Re comment #4, I installed the latest kernel and am still having the same issue. Kernel used: 5.8.0-050800rc5-generic #202007140715 SMP Tue Jul 14 11:18:29 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux -- You received this bug notification because you are a member of Kernel Packages, which is subscri

[Kernel-packages] [Bug 1880076] Re: ubuntu 20.4 - retransmitts with r8169

2020-07-16 Thread Jeremy Elson
In my case the bug is in the receiving direction. I see no problems with transmitting. Here is the output of lspci -vv (for only the ethernet controller in question) on the broken system. Below, I have the output from the working system. Broken system: 01:00.0 Ethernet controller: Realtek Semico

[Kernel-packages] [Bug 1880076] Re: ubuntu 20.4 - retransmitts with r8169

2020-07-16 Thread Jeremy Elson
Two additional data points: 1) When I boot the "broken" computer -- i.e. the one that gets rx misses under Linux -- into Windows, Windows can drive the Ethernet chip at full wire speed; I get 500mbps to a WAN host over TCP. I believe this suggests it is not a problem with the BIOS. 2) I actually

[Kernel-packages] [Bug 1880076] Re: ubuntu 20.4 - retransmitts with r8169

2020-07-16 Thread Jeremy Elson
One more data point. Using the ethtool command described in comment 16 (rx-usecs 200, tx-usecs 200) I see about a 10% improvement in bandwidth but still a large number of dropped incoming packets resulting in small TCP congestion windows (and thus a small fraction of the overall TCP goodput achieve

[Kernel-packages] [Bug 1880076] Re: ubuntu 20.4 - retransmitts with r8169

2020-07-16 Thread Jeremy Elson
And another data point: I wiped the computer clean and installed Ubuntu 18.04.4; the problem disappeared. TCP performance was near wire speed. Kernel: 4.15.0-111-generic #112-Ubuntu SMP Thu Jul 9 20:32:34 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux This clearly points to a regression in software, not

[Kernel-packages] [Bug 1880076] Re: ubuntu 20.4 - retransmitts with r8169

2020-07-17 Thread Jeremy Elson
I tried: echo 'performance' > /sys/module/pcie_aspm/parameters/policy This did not improve performance or reduce packet loss. I don't think it's right to give up and say "Well, this is a BIOS bug." The 18.04 kernel does not exhibit this problem, nor does Windows, but the 20.04 kernel does. It's