From owner-freebsd-current@freebsd.org Mon Jul 13 20:18:59 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BBE5E370212 for ; Mon, 13 Jul 2020 20:18:59 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic312-24.consmr.mail.gq1.yahoo.com (sonic312-24.consmr.mail.gq1.yahoo.com [98.137.69.205]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4B5FNL52YDz4TJY for ; Mon, 13 Jul 2020 20:18:58 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: j8nhyMYVM1lkffll62ImFbRHjKfx9qd5omYSnh5o2A4DRIw2trUgaamvF7VZG7t XW3VBSDDA41IykKzh0vq.Yt3_OJVmPxWHMdQupCsFQnWlTpRPzJkZL.Dagz81gyMca4CdDv2Nofi 7rwxij22guSLnaihkP0BlY5CaFjzPSsBFjI81o.5rZvDXjz7oKOUWH7ZH2jd.9HhRSvPzASx3jNu loN_K6OfJZm1HY9_bYnPixQlrgsVE0bhaXfCAGLRV67rC1tXKbfsCEWBRn9YCyngclBxG8VV.oW2 qyq6cLYW841iB8Civ_x3i0VnTPeKEvXFxgrFbz8DuCJHAzpZNzqlavM1LbHBDfI._rX_kI6npghM 2sORCImeWCPY2v7AWZQnLG3eaftH9L__xUTS4J6x317IoY18w0xI8tv9yc5X4RqlIswMrs07Xaa4 5Rv8gsAA95TWlqBir2cdD2j8kMLO0_jhaGLpzRkXG5pOVQQUZuFxxJD.XLixfDL.R651_1R1f1HF 5ZlO4qTtJT7SAk76eIULgVgdh4miXCetK4Gw4xWhBD3y5r6UPPXLeehkJYCz3IkNi.L0EV1y_Onf SEeZ0Jz8ti6LDJqdupVRAJz3IKRt_c.m69HS.fJKGQabdp07msXTG6BKAP_KtuZcatIam61k0n_I ZulVR7k3dSQt7V0hrbqLav2QQUPiUqk5efBO._9WKm_bqY4nBhpu8U.64PT98is69eErMRA8_k7E Cl0oO31oHSbqKWbKKZdKwJi68TCDCxKGj0Wh4tQJHV876HuhurUm0shBFgfgWmLjxnmbEgw2LeFZ Wh6.JuKTAV9ayAn3x1WBwowPLNaD_60W3i1pTcAkbEl7yV6_j4ivVCRtFAPaCjjueKoRWJDwiyj0 rXt1V3RkN3Ql8s8XeSvpJlIOMsEPCbfy8G7kl3YitS6KOu_xijvS9Y_ab9VYKkYE5G6RLjOGw6jw Fukh3pQbfBB7El0tTT5HfFYCiczgvcHLVLWrJpKETr7MXC2bxM6SD3xdfjjv2pawcXAltGoPz5.P 3uEwqUPEYMMYM_R22qAoYA1zC3GPO07W0aeP72WLoz8sMd067f70irR7fIo7SZyoAdPOuVxL0art Xz9KlOga9D_pevQVVd1ilOPow6DAEQUxSXCXMdilWw.tSCZkNPRO76F8HTP5sp_X14mFyBXXZj3p IuO07ZhJposFDPToj5iPAVuDM02S3zuy4LOuPGwBhcEsnekRQQMPwFLY89XyHLZyR9pSsFvQ9N0Z qMbopzG8QzN1FDim.JHWkll9y1n5OAs0GEsoQ0YAnyQDHS9B_.BAiKe1dMUFlnIxdQBpFf9a9NIL ULluVEli66LRmtjQJ7lxpYV4cY4dKWNESCMjk426cnRAA9kge0PX2BbQQtruMCI31UYuFESyi0RG nydqLG2CDs21cF.EQS8lIuTuF2MXa_rp_zVXhxGi9tOfm04y_xG.mUsi6G9MZ2Q-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.gq1.yahoo.com with HTTP; Mon, 13 Jul 2020 20:18:57 +0000 Received: by smtp418.mail.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID c59024b1283cab288be4ed44750016ba; Mon, 13 Jul 2020 20:18:55 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: slow USB 3.0 on -current From: Mark Millard In-Reply-To: Date: Mon, 13 Jul 2020 13:18:54 -0700 Cc: FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: 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> To: John-Mark Gurney X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Rspamd-Queue-Id: 4B5FNL52YDz4TJY X-Spamd-Bar: -- X-Spamd-Result: default: False [-3.00 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.69.205:from]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; NEURAL_HAM_LONG(-1.00)[-0.997]; NEURAL_HAM_MEDIUM(-0.98)[-0.975]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.205:from]; NEURAL_HAM_SHORT(-0.52)[-0.524]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jul 2020 20:18:59 -0000 [Just a correction to a side comment.] On 2020-Jul-13, at 12:46, Mark Millard wrote: > On 2020-Jul-13, at 12:03, John-Mark Gurney = 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 = 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: at usbus0 >>> axge0 on uhub0 >>> axge0: on usbus0 >>> miibus1: on axge0 >>> rgephy0: 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)