Re: musb: asix ethernet incoming UDP loss

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Well, there are no packet loss with -b 3M. However, the jitter is
little strange.

-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 192.168.185.4, port 34518
[  5] local 192.168.185.218 port 5201 connected to 192.168.185.4 port 49426
[ ID] Interval           Transfer     Bitrate         Jitter
Lost/Total Datagrams
[  5]   0.00-1.00   sec   336 KBytes  2.75 Mbits/sec  6745923728.386
ms  0/42 (0%)
[  5]   1.00-2.00   sec   360 KBytes  2.95 Mbits/sec  369614384.845 ms
 0/45 (0%)
[  5]   2.00-3.00   sec   368 KBytes  3.01 Mbits/sec  18985742.538 ms  0/46 (0%)
[  5]   3.00-4.00   sec   368 KBytes  3.01 Mbits/sec  975228.606 ms  0/46 (0%)
[  5]   4.00-5.00   sec   368 KBytes  3.01 Mbits/sec  50094.216 ms  0/46 (0%)
[  5]   5.00-6.00   sec   368 KBytes  3.01 Mbits/sec  2573.393 ms  0/46 (0%)
[  5]   6.00-7.00   sec   360 KBytes  2.95 Mbits/sec  141.420 ms  0/45 (0%)
[  5]   7.00-8.00   sec   368 KBytes  3.01 Mbits/sec  7.744 ms  0/46 (0%)
[  5]   8.00-9.00   sec   368 KBytes  3.01 Mbits/sec  0.668 ms  0/46 (0%)
[  5]   9.00-10.00  sec   368 KBytes  3.01 Mbits/sec  0.307 ms  0/46 (0%)
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Jitter
Lost/Total Datagrams
[  5]   0.00-10.04  sec  3.55 MBytes  2.96 Mbits/sec  0.307 ms  0/454
(0%)  receiver
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------

>
>>
>> -----------------------------------------------------------
>> 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.
>
>> 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



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux