2018-03-22 20:11 GMT+03:00 Bin Liu <b-liu@xxxxxx>: > On Thu, Mar 22, 2018 at 07:31:59PM +0300, Matwey V. Kornilov wrote: >> Hi, >> >> I am running 4.16-rc6 and see the following issue with ASIX >> usb-ethernet dongle running on BeagleBoneBlack (TI AM335x). > > Does the issue also happen on older kernels? > >> My device is 100Mbps USB 2.0 dongle (ASIX AX88772 USB 2.0 Ethernet >> idVendor=0b95, idProduct=7720). I've also tried 1Gbps USB 3.0 ASIX >> dongle, that shows the same behavior. >> >> When I start iperf server on the host, and start remote client in UDP >> (iperf3 -c ip -b 100M -u). The following I see at BeagleBoneBlack >> side. > > If this is not a regression in v4.16, please try with lower '-b', musb > rx is kinda slow right now. > >> >> ----------------------------------------------------------- >> Server listening on 5201 >> ----------------------------------------------------------- >> Accepted connection from 192.168.185.4, port 38624 >> [ 5] local 192.168.185.218 port 5201 connected to 192.168.185.4 port 38088 >> [ ID] Interval Transfer Bitrate Jitter >> Lost/Total Datagrams >> [ 5] 0.00-12.09 sec 1.33 MBytes 921 Kbits/sec 1742978.415 ms >> 317/487 (65%) >> [ 5] 12.10-13.00 sec 24.0 KBytes 218 Kbits/sec 1436810.214 ms 0/3 (0%) >> [ 5] 13.00-13.37 sec 0.00 Bytes 0.00 bits/sec 1436810.214 ms 0/0 (0%) >> - - - - - - - - - - - - - - - - - - - - - - - - - >> [ ID] Interval Transfer Bitrate Jitter >> Lost/Total Datagrams >> [ 5] 0.00-13.37 sec 1.35 MBytes 848 Kbits/sec 1436810.214 ms >> 317/490 (65%) receiver >> ----------------------------------------------------------- >> Server listening on 5201 >> ----------------------------------------------------------- > > I will try to reproduce it when I get some time. I've just found that the issue depends on cpufreq governor. For me it appears when ondemand is used. > >> Kernel config is attached here. >> >> -- >> With best regards, >> Matwey V. Kornilov > > Regards, > -Bin. -- With best regards, Matwey V. Kornilov -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html