Re: slow USB 3.0 on -current

From: Mark Millard <marklmi_at_yahoo.com>
Date: Mon, 13 Jul 2020 13:18:54 -0700
[Just a correction to a side comment.]

On 2020-Jul-13, at 12:46, Mark Millard <marklmi at yahoo.com> wrote:

> On 2020-Jul-13, at 12:03, John-Mark Gurney <jmg at funkthat.com> wrote:
> 
>> Mark Millard wrote this message on Mon, Jul 13, 2020 at 00:44 -0700:
>>> On 2020-Jul-12, at 21:51, John-Mark Gurney <jmg at funkthat.com> wrote:
>>> 
>>>> . . .
>>> 
>>> Hmm. I only seem to be able to find one type. Its been a
>>> while since I've used the other and I do not know where
>>> it is at. For what I found:
>>> 
>>> ugen0.2: <ASIX Elec. AX88179> at usbus0
>>> axge0 on uhub0
>>> axge0: <NetworkInterface> on usbus0
>>> miibus1: <MII bus> on axge0
>>> rgephy0: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 3 on miibus1
>>> rgephy0:  none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow
>>> 
>>> (I have access to more than one instance of the above.)
>> 
>> Yeah, these are the ones that are known to not be able to get close
>> to gige speeds, unlike the RealTek one that I am using now...
> 
> Hmm, in one direction anyway?
> 
> NetBSD current testing on a RPi4 for
> iperf3 -R -c 192.168.1.120 -B 192.168.1.140 :
> 
> Server listening on 5201
> -----------------------------------------------------------
> Accepted connection from 192.168.1.140, port 65525
> [  5] local 192.168.1.120 port 5201 connected to 192.168.1.140 port 65524
> [ ID] Interval           Transfer     Bitrate         Retr  Cwnd
> [  5]   0.00-1.00   sec  33.7 MBytes   282 Mbits/sec    0   33.9 KBytes       
> [  5]   1.00-2.00   sec  96.0 MBytes   805 Mbits/sec    2   48.9 KBytes       
> [  5]   2.00-3.00   sec   111 MBytes   930 Mbits/sec   12   81.9 KBytes       
> [  5]   3.00-4.00   sec  83.8 MBytes   703 Mbits/sec   18    114 KBytes       
> [  5]   4.00-5.00   sec  83.7 MBytes   702 Mbits/sec   42    145 KBytes       
> [  5]   5.00-6.00   sec  84.8 MBytes   712 Mbits/sec   50    178 KBytes       
> [  5]   6.00-7.00   sec   111 MBytes   929 Mbits/sec   40    194 KBytes       
> [  5]   7.00-8.00   sec  83.6 MBytes   701 Mbits/sec   40    194 KBytes       
> [  5]   8.00-9.00   sec   111 MBytes   930 Mbits/sec   47    194 KBytes       
> [  5]   9.00-10.00  sec   111 MBytes   927 Mbits/sec   50    193 KBytes       
> [  5]  10.00-10.62  sec  68.4 MBytes   929 Mbits/sec   46    193 KBytes       
> - - - - - - - - - - - - - - - - - - - - - - - - -
> [ ID] Interval           Transfer     Bitrate         Retr
> [  5]   0.00-10.62  sec   977 MBytes   772 Mbits/sec  347             sender
> 
> and as seen on the receiver:
> 
> # iperf3 -R -c 192.168.1.120 -B 192.168.1.140
> Connecting to host 192.168.1.120, port 5201
> Reverse mode, remote host 192.168.1.120 is sending
> [  5] local 192.168.1.140 port 65524 connected to 192.168.1.120 port 5201
> [ ID] Interval           Transfer     Bitrate
> [  5]   0.00-1.00   sec  87.8 MBytes   736 Mbits/sec                  
> [  5]   1.00-2.00   sec   110 MBytes   924 Mbits/sec                  
> [  5]   2.00-3.00   sec  83.7 MBytes   702 Mbits/sec                  
> [  5]   3.00-4.00   sec  83.6 MBytes   701 Mbits/sec                  
> [  5]   4.00-5.00   sec  84.8 MBytes   711 Mbits/sec                  
> [  5]   5.00-6.00   sec   111 MBytes   931 Mbits/sec                  
> [  5]   6.00-7.00   sec  83.4 MBytes   700 Mbits/sec                  
> [  5]   7.00-8.00   sec   111 MBytes   930 Mbits/sec                  
> [  5]   8.00-9.00   sec   111 MBytes   929 Mbits/sec                  
> [  5]   9.00-10.00  sec   111 MBytes   929 Mbits/sec                  
> - - - - - - - - - - - - - - - - - - - - - - - - -
> [ ID] Interval           Transfer     Bitrate         Retr
> [  5]   0.00-10.62  sec   977 MBytes   772 Mbits/sec  347             sender
> [  5]   0.00-10.00  sec   977 MBytes   819 Mbits/sec                  receiver
> 
> This is faster than the built-in EtherNet results.
> (But the built-in is also USB based.)

The built-in EtherNet does not show in usbdevs output.
I got the context wrong for the ()'d note.

> As for iperf3 -c 192.168.1.120 -B 192.168.1.140 it is
> slower:
> 
> Connecting to host 192.168.1.120, port 5201
> [  5] local 192.168.1.140 port 65526 connected to 192.168.1.120 port 5201
> [ ID] Interval           Transfer     Bitrate         Retr  Cwnd
> [  5]   0.00-1.00   sec  62.5 MBytes   522 Mbits/sec    0   4.00 MBytes       
> [  5]   1.00-2.01   sec  62.5 MBytes   524 Mbits/sec    0   4.00 MBytes       
> [  5]   2.01-3.01   sec  62.5 MBytes   524 Mbits/sec    0   4.00 MBytes       
> [  5]   3.01-4.01   sec  62.5 MBytes   524 Mbits/sec    0   4.00 MBytes       
> [  5]   4.01-5.01   sec  62.5 MBytes   525 Mbits/sec    0   4.00 MBytes       
> [  5]   5.01-6.01   sec  62.5 MBytes   523 Mbits/sec    0   4.00 MBytes       
> [  5]   6.01-7.01   sec  62.5 MBytes   525 Mbits/sec    0   4.00 MBytes       
> [  5]   7.01-8.01   sec  62.5 MBytes   525 Mbits/sec    0   4.00 MBytes       
> [  5]   8.01-9.01   sec  62.5 MBytes   524 Mbits/sec    0   4.00 MBytes       
> [  5]   9.01-10.01  sec  62.5 MBytes   525 Mbits/sec    0   4.00 MBytes       
> - - - - - - - - - - - - - - - - - - - - - - - - -
> [ ID] Interval           Transfer     Bitrate         Retr
> [  5]   0.00-10.01  sec   625 MBytes   524 Mbits/sec    0             sender
> [  5]   0.00-10.62  sec   625 MBytes   494 Mbits/sec                  receiver
> 
> This is again faster than the built-in EtherNet results.




===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)
Received on Mon Jul 13 2020 - 18:18:59 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:24 UTC