> On Jul 26, 2020, at 1:24 PM, Mikolaj Kucharski <[email protected]> wrote:
>
> Hi Kevin, Jonathon,
>
> On Tue, Jul 21, 2020 at 02:38:55PM +0800, Kevin Lo wrote:
>> Hi,
>>
>> Jonathon Fletcher has been helping get the better performance out of ure(4).
>> I ran the tcpbench with ure (RTL8156) for 5 minutes:
>>
>> 71538432760 bytes sent over 300.999 seconds
>> bandwidth min/avg/max/std-dev = 12.071/1901.448/1947.873/135.283 Mbps
>>
>> A big thanks to Jonathon for his hard work.
>
> I've tested this on amd64 with following ure(4) card:
>
> ure0 at uhub2 port 2 configuration 1 interface 0 "Realtek USB 10/100/1000
> LAN" rev 2.10/30.00 addr 4
> ure0: RTL8153 (0x5c30), address 00:e0:4c:04:09:7d
>
> I could see speedtest-cli improvement from around 150 Mbit/s before the
> diff, to 245 Mbit/s after the diff.
>
> Big thank you for this patch. Will run it for next couple of days.
> Before the diff I faced following errors with ure(4):
>
> usbd_start_next: error=5
> ure0: watchdog timeout
> ure0: usb errors on rx: IOERROR
>
> and unplug/re-plug dance was needed to bring back the network. That
> usually happend during Google Meet video call, so I need few days to see
> how this diff goes against web video calls.
Mikolaj,
Thank you for testing my patch.
I am very interested to know what xhci (or ehci) hardware you have.
I have the following:
xhci0 at pci0 dev 20 function 0 "Intel 9 Series xHCI" rev 0x03: msi, xHCI 1.0
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00
addr 1
ure0 at uhub0 port 14 configuration 1 interface 0 "Realtek USB 10/100/1G/2.5G
LAN" rev 3.20/30.00 addr 3
ure0: RTL8156 (0x7030), address 00:e0:4c:ab:64:5a
My ure0 is https://www.amazon.com/gp/product/B07Z8S6PN4
<https://www.amazon.com/gp/product/B07Z8S6PN4>
I do not get any watchdog errors with this.
Kevin has been testing my patch and giving me good feedback. He has seen some
watchdog errors with an RTL8153B also.
I am starting to suspect that I have the tx xfer size wrong (too big) for the
8153 / 8153B devices. I am also trying to eliminate the XHCI hardware as a
cause.
Please could you post your dmesg? At a minimum it would help me a lot to see
your usb hardware.
Thanks,
Jonathon