Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jul 2020 13:18:54 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        John-Mark Gurney <jmg@funkthat.com>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: slow USB 3.0 on -current
Message-ID:  <CB4C0C5E-FD57-480D-B6BA-E46E12054F22@yahoo.com>
In-Reply-To: <A8437A02-1241-4E45-8D2B-5D777AE19AF3@yahoo.com>
References:  <9D8F806C-2F11-4338-9905-E91BBCDEFC01.ref@yahoo.com> <9D8F806C-2F11-4338-9905-E91BBCDEFC01@yahoo.com> <20200713045149.GL4213@funkthat.com> <1F4704D0-DD42-4DD2-A15C-D89FEF2FA382@yahoo.com> <20200713190349.GM4213@funkthat.com> <A8437A02-1241-4E45-8D2B-5D777AE19AF3@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
[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:
>=20
>> 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:
>>>=20
>>>> . . .
>>>=20
>>> 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:
>>>=20
>>> 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
>>>=20
>>> (I have access to more than one instance of the above.)
>>=20
>> 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...
>=20
> Hmm, in one direction anyway?
>=20
> NetBSD current testing on a RPi4 for
> iperf3 -R -c 192.168.1.120 -B 192.168.1.140 :
>=20
> 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      =20
> [  5]   1.00-2.00   sec  96.0 MBytes   805 Mbits/sec    2   48.9 =
KBytes      =20
> [  5]   2.00-3.00   sec   111 MBytes   930 Mbits/sec   12   81.9 =
KBytes      =20
> [  5]   3.00-4.00   sec  83.8 MBytes   703 Mbits/sec   18    114 =
KBytes      =20
> [  5]   4.00-5.00   sec  83.7 MBytes   702 Mbits/sec   42    145 =
KBytes      =20
> [  5]   5.00-6.00   sec  84.8 MBytes   712 Mbits/sec   50    178 =
KBytes      =20
> [  5]   6.00-7.00   sec   111 MBytes   929 Mbits/sec   40    194 =
KBytes      =20
> [  5]   7.00-8.00   sec  83.6 MBytes   701 Mbits/sec   40    194 =
KBytes      =20
> [  5]   8.00-9.00   sec   111 MBytes   930 Mbits/sec   47    194 =
KBytes      =20
> [  5]   9.00-10.00  sec   111 MBytes   927 Mbits/sec   50    193 =
KBytes      =20
> [  5]  10.00-10.62  sec  68.4 MBytes   929 Mbits/sec   46    193 =
KBytes      =20
> - - - - - - - - - - - - - - - - - - - - - - - - -
> [ ID] Interval           Transfer     Bitrate         Retr
> [  5]   0.00-10.62  sec   977 MBytes   772 Mbits/sec  347             =
sender
>=20
> and as seen on the receiver:
>=20
> # 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                 =20=

> [  5]   1.00-2.00   sec   110 MBytes   924 Mbits/sec                 =20=

> [  5]   2.00-3.00   sec  83.7 MBytes   702 Mbits/sec                 =20=

> [  5]   3.00-4.00   sec  83.6 MBytes   701 Mbits/sec                 =20=

> [  5]   4.00-5.00   sec  84.8 MBytes   711 Mbits/sec                 =20=

> [  5]   5.00-6.00   sec   111 MBytes   931 Mbits/sec                 =20=

> [  5]   6.00-7.00   sec  83.4 MBytes   700 Mbits/sec                 =20=

> [  5]   7.00-8.00   sec   111 MBytes   930 Mbits/sec                 =20=

> [  5]   8.00-9.00   sec   111 MBytes   929 Mbits/sec                 =20=

> [  5]   9.00-10.00  sec   111 MBytes   929 Mbits/sec                 =20=

> - - - - - - - - - - - - - - - - - - - - - - - - -
> [ 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
>=20
> 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:
>=20
> 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      =20
> [  5]   1.00-2.01   sec  62.5 MBytes   524 Mbits/sec    0   4.00 =
MBytes      =20
> [  5]   2.01-3.01   sec  62.5 MBytes   524 Mbits/sec    0   4.00 =
MBytes      =20
> [  5]   3.01-4.01   sec  62.5 MBytes   524 Mbits/sec    0   4.00 =
MBytes      =20
> [  5]   4.01-5.01   sec  62.5 MBytes   525 Mbits/sec    0   4.00 =
MBytes      =20
> [  5]   5.01-6.01   sec  62.5 MBytes   523 Mbits/sec    0   4.00 =
MBytes      =20
> [  5]   6.01-7.01   sec  62.5 MBytes   525 Mbits/sec    0   4.00 =
MBytes      =20
> [  5]   7.01-8.01   sec  62.5 MBytes   525 Mbits/sec    0   4.00 =
MBytes      =20
> [  5]   8.01-9.01   sec  62.5 MBytes   524 Mbits/sec    0   4.00 =
MBytes      =20
> [  5]   9.01-10.01  sec  62.5 MBytes   525 Mbits/sec    0   4.00 =
MBytes      =20
> - - - - - - - - - - - - - - - - - - - - - - - - -
> [ 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
>=20
> This is again faster than the built-in EtherNet results.




=3D=3D=3D
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CB4C0C5E-FD57-480D-B6BA-E46E12054F22>