On 2020-Jul-13, at 13:18, Mark Millard <marklmi at yahoo.com> wrote: > [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. > I got my hands on a (shown via NetBSD -current): [ 240486.8559968] ure0 at uhub0 port 1 [ 240486.8559968] ure0: Realtek (0x0bda) USB 10/100/1000 LAN (0x8153), rev 3.00/30.00, addr 5 [ 240486.8659983] ure0: RTL8153 ver 5c30 [ 240486.9260031] rgephy0 at ure0 phy 0: RTL8251 1000BASE-T media interface, rev. 0 [ 240486.9360031] rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto [ 240486.9471347] ure0: Ethernet address a0:ce:c8:d6:8f:dc NetBSD on a RPi4 reports for such: # iperf3 -c 192.168.1.120 --get-server-output -B 192.168.1.143 Connecting to host 192.168.1.120, port 5201 [ 5] local 192.168.1.143 port 65528 connected to 192.168.1.120 port 5201 [ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.02 sec 67.2 MBytes 555 Mbits/sec 0 4.00 MBytes [ 5] 1.02-2.01 sec 74.9 MBytes 633 Mbits/sec 0 4.00 MBytes [ 5] 2.01-3.00 sec 74.9 MBytes 633 Mbits/sec 0 4.00 MBytes [ 5] 3.00-4.01 sec 76.4 MBytes 634 Mbits/sec 0 4.00 MBytes [ 5] 4.01-5.00 sec 74.8 MBytes 634 Mbits/sec 0 4.00 MBytes [ 5] 5.00-6.01 sec 76.1 MBytes 634 Mbits/sec 0 4.00 MBytes [ 5] 6.01-7.00 sec 75.1 MBytes 634 Mbits/sec 0 4.00 MBytes [ 5] 7.00-8.01 sec 76.2 MBytes 634 Mbits/sec 0 4.00 MBytes [ 5] 8.01-9.00 sec 74.8 MBytes 633 Mbits/sec 0 4.00 MBytes [ 5] 9.00-10.01 sec 75.5 MBytes 629 Mbits/sec 0 4.00 MBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.01 sec 746 MBytes 625 Mbits/sec 0 sender [ 5] 0.00-10.63 sec 746 MBytes 589 Mbits/sec receiver Server output: ----------------------------------------------------------- Server listening on 5201 ----------------------------------------------------------- Accepted connection from 192.168.1.143, port 65529 [ 5] local 192.168.1.120 port 5201 connected to 192.168.1.143 port 65528 [ ID] Interval Transfer Bitrate [ 5] 0.00-1.00 sec 23.4 MBytes 196 Mbits/sec [ 5] 1.00-2.00 sec 71.2 MBytes 597 Mbits/sec [ 5] 2.00-3.00 sec 75.5 MBytes 633 Mbits/sec [ 5] 3.00-4.00 sec 75.5 MBytes 634 Mbits/sec [ 5] 4.00-5.00 sec 75.5 MBytes 634 Mbits/sec [ 5] 5.00-6.00 sec 75.6 MBytes 634 Mbits/sec [ 5] 6.00-7.00 sec 75.6 MBytes 634 Mbits/sec [ 5] 7.00-8.00 sec 75.6 MBytes 634 Mbits/sec [ 5] 8.00-9.00 sec 75.6 MBytes 634 Mbits/sec [ 5] 9.00-10.00 sec 75.1 MBytes 630 Mbits/sec [ 5] 10.00-10.63 sec 47.4 MBytes 632 Mbits/sec - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate [ 5] 0.00-10.63 sec 746 MBytes 589 Mbits/sec receiver iperf Done. (I'll note that the axge0 sometimes also ends up with figures about 630 Mbits/sec. The 520 Mbits/sec range figures were the lowest I'd observed. I'll include output of such at the end of the note.) # iperf3 -R -c 192.168.1.120 --get-server-output -B 192.168.1.143 Connecting to host 192.168.1.120, port 5201 Reverse mode, remote host 192.168.1.120 is sending [ 5] local 192.168.1.143 port 65530 connected to 192.168.1.120 port 5201 [ ID] Interval Transfer Bitrate [ 5] 0.00-1.00 sec 106 MBytes 893 Mbits/sec [ 5] 1.00-2.00 sec 111 MBytes 930 Mbits/sec [ 5] 2.00-3.00 sec 111 MBytes 929 Mbits/sec [ 5] 3.00-4.00 sec 111 MBytes 930 Mbits/sec [ 5] 4.00-5.00 sec 111 MBytes 930 Mbits/sec [ 5] 5.00-6.00 sec 111 MBytes 930 Mbits/sec [ 5] 6.00-7.00 sec 111 MBytes 930 Mbits/sec [ 5] 7.00-8.00 sec 111 MBytes 930 Mbits/sec [ 5] 8.00-9.00 sec 111 MBytes 930 Mbits/sec [ 5] 9.00-10.00 sec 111 MBytes 930 Mbits/sec - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.62 sec 1.08 GBytes 873 Mbits/sec 249 sender [ 5] 0.00-10.00 sec 1.08 GBytes 926 Mbits/sec receiver Server output: ----------------------------------------------------------- Server listening on 5201 ----------------------------------------------------------- Accepted connection from 192.168.1.143, port 65531 [ 5] local 192.168.1.120 port 5201 connected to 192.168.1.143 port 65530 [ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 38.7 MBytes 325 Mbits/sec 0 65.0 KBytes [ 5] 1.00-2.00 sec 110 MBytes 926 Mbits/sec 34 96.8 KBytes [ 5] 2.00-3.00 sec 111 MBytes 930 Mbits/sec 30 129 KBytes [ 5] 3.00-4.00 sec 111 MBytes 929 Mbits/sec 24 162 KBytes [ 5] 4.00-5.00 sec 111 MBytes 930 Mbits/sec 26 193 KBytes [ 5] 5.00-6.00 sec 111 MBytes 930 Mbits/sec 23 194 KBytes [ 5] 6.00-7.00 sec 111 MBytes 930 Mbits/sec 25 193 KBytes [ 5] 7.00-8.00 sec 111 MBytes 930 Mbits/sec 25 193 KBytes [ 5] 8.00-9.00 sec 111 MBytes 930 Mbits/sec 25 194 KBytes [ 5] 9.00-10.00 sec 111 MBytes 930 Mbits/sec 37 193 KBytes [ 5] 10.00-10.62 sec 68.5 MBytes 932 Mbits/sec 0 193 KBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.62 sec 1.08 GBytes 873 Mbits/sec 249 sender iperf Done. (So far in this direction it does seem to get into the 900's more than the axge0 did.) Interestingly, NetBSD goes faster in one direction with either of these chipsets via USB3 than it does with the built-in EtherNet on the RPi4 (see the -R run below). # iperf3 -c 192.168.1.120 --get-server-output Connecting to host 192.168.1.120, port 5201 [ 5] local 192.168.1.131 port 65534 connected to 192.168.1.120 port 5201 [ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.01 sec 69.2 MBytes 576 Mbits/sec 0 4.00 MBytes [ 5] 1.01-2.01 sec 68.9 MBytes 577 Mbits/sec 0 4.00 MBytes [ 5] 2.01-3.01 sec 68.3 MBytes 576 Mbits/sec 0 4.00 MBytes [ 5] 3.01-4.01 sec 69.2 MBytes 576 Mbits/sec 0 4.00 MBytes [ 5] 4.01-5.00 sec 68.1 MBytes 576 Mbits/sec 0 4.00 MBytes [ 5] 5.00-6.00 sec 68.5 MBytes 576 Mbits/sec 0 4.00 MBytes [ 5] 6.00-7.00 sec 68.6 MBytes 576 Mbits/sec 0 4.00 MBytes [ 5] 7.00-8.01 sec 69.2 MBytes 576 Mbits/sec 0 4.00 MBytes [ 5] 8.01-9.01 sec 68.9 MBytes 577 Mbits/sec 0 4.00 MBytes [ 5] 9.01-10.00 sec 68.3 MBytes 576 Mbits/sec 0 4.00 MBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.00 sec 687 MBytes 576 Mbits/sec 0 sender [ 5] 0.00-10.62 sec 687 MBytes 543 Mbits/sec receiver Server output: Accepted connection from 192.168.1.131, port 65535 [ 5] local 192.168.1.120 port 5201 connected to 192.168.1.131 port 65534 [ ID] Interval Transfer Bitrate [ 5] 0.00-1.00 sec 26.3 MBytes 220 Mbits/sec [ 5] 1.00-2.00 sec 68.7 MBytes 576 Mbits/sec [ 5] 2.00-3.00 sec 68.7 MBytes 577 Mbits/sec [ 5] 3.00-4.00 sec 68.7 MBytes 576 Mbits/sec [ 5] 4.00-5.00 sec 68.6 MBytes 576 Mbits/sec [ 5] 5.00-6.00 sec 68.7 MBytes 576 Mbits/sec [ 5] 6.00-7.00 sec 68.7 MBytes 576 Mbits/sec [ 5] 7.00-8.00 sec 68.7 MBytes 576 Mbits/sec [ 5] 8.00-9.00 sec 68.7 MBytes 576 Mbits/sec [ 5] 9.00-10.00 sec 68.7 MBytes 577 Mbits/sec [ 5] 10.00-10.62 sec 42.6 MBytes 576 Mbits/sec - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate [ 5] 0.00-10.62 sec 687 MBytes 543 Mbits/sec receiver iperf Done. # iperf3 -R -c 192.168.1.120 --get-server-output Connecting to host 192.168.1.120, port 5201 Reverse mode, remote host 192.168.1.120 is sending [ 5] local 192.168.1.131 port 65532 connected to 192.168.1.120 port 5201 [ ID] Interval Transfer Bitrate [ 5] 0.00-1.00 sec 59.6 MBytes 500 Mbits/sec [ 5] 1.00-2.00 sec 58.7 MBytes 493 Mbits/sec [ 5] 2.00-3.00 sec 76.9 MBytes 644 Mbits/sec [ 5] 3.00-4.00 sec 66.4 MBytes 557 Mbits/sec [ 5] 4.00-5.00 sec 69.3 MBytes 581 Mbits/sec [ 5] 5.00-6.00 sec 60.7 MBytes 510 Mbits/sec [ 5] 6.00-7.00 sec 77.4 MBytes 649 Mbits/sec [ 5] 7.00-8.00 sec 81.0 MBytes 678 Mbits/sec [ 5] 8.00-9.00 sec 80.2 MBytes 675 Mbits/sec [ 5] 9.00-10.00 sec 77.2 MBytes 647 Mbits/sec - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.63 sec 708 MBytes 559 Mbits/sec 1964 sender [ 5] 0.00-10.00 sec 707 MBytes 593 Mbits/sec receiver Server output: ----------------------------------------------------------- Server listening on 5201 ----------------------------------------------------------- Accepted connection from 192.168.1.131, port 65533 [ 5] local 192.168.1.120 port 5201 connected to 192.168.1.131 port 65532 [ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 12.3 MBytes 103 Mbits/sec 42 34.1 KBytes [ 5] 1.00-2.00 sec 76.1 MBytes 638 Mbits/sec 227 29.5 KBytes [ 5] 2.00-3.00 sec 60.9 MBytes 511 Mbits/sec 148 69.6 KBytes [ 5] 3.00-4.00 sec 70.2 MBytes 589 Mbits/sec 189 36.9 KBytes [ 5] 4.00-5.00 sec 68.0 MBytes 570 Mbits/sec 157 29.8 KBytes [ 5] 5.00-6.00 sec 74.0 MBytes 621 Mbits/sec 177 51.0 KBytes [ 5] 6.00-7.00 sec 58.8 MBytes 493 Mbits/sec 205 17.0 KBytes [ 5] 7.00-8.00 sec 78.1 MBytes 655 Mbits/sec 246 34.1 KBytes [ 5] 8.00-9.00 sec 82.2 MBytes 689 Mbits/sec 144 34.1 KBytes [ 5] 9.00-10.00 sec 77.5 MBytes 650 Mbits/sec 270 15.6 KBytes [ 5] 10.00-10.63 sec 49.4 MBytes 662 Mbits/sec 159 19.8 KBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.63 sec 708 MBytes 559 Mbits/sec 1964 sender iperf Done. As for axge0 for -c (no -R) getting in the 600 Mbits/sec range, an example was: # iperf3 -c 192.168.1.120 -B 192.168.1.140 --get-server-output Connecting to host 192.168.1.120, port 5201 [ 5] local 192.168.1.140 port 65518 connected to 192.168.1.120 port 5201 [ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.01 sec 76.4 MBytes 633 Mbits/sec 0 4.00 MBytes [ 5] 1.01-2.01 sec 75.2 MBytes 633 Mbits/sec 0 4.00 MBytes [ 5] 2.01-3.01 sec 72.9 MBytes 613 Mbits/sec 0 4.00 MBytes [ 5] 3.01-4.01 sec 74.9 MBytes 628 Mbits/sec 0 4.00 MBytes [ 5] 4.01-5.01 sec 70.6 MBytes 590 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.02 sec 65.7 MBytes 551 Mbits/sec 0 4.00 MBytes [ 5] 7.02-8.01 sec 75.4 MBytes 637 Mbits/sec 0 4.00 MBytes [ 5] 8.01-9.01 sec 76.2 MBytes 638 Mbits/sec 0 4.00 MBytes [ 5] 9.01-10.02 sec 76.4 MBytes 637 Mbits/sec 0 4.00 MBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.02 sec 726 MBytes 608 Mbits/sec 0 sender [ 5] 0.00-10.63 sec 726 MBytes 573 Mbits/sec receiver Server output: ----------------------------------------------------------- Server listening on 5201 ----------------------------------------------------------- Accepted connection from 192.168.1.140, port 65519 [ 5] local 192.168.1.120 port 5201 connected to 192.168.1.140 port 65518 [ ID] Interval Transfer Bitrate [ 5] 0.00-1.00 sec 29.1 MBytes 244 Mbits/sec [ 5] 1.00-2.00 sec 75.5 MBytes 633 Mbits/sec [ 5] 2.00-3.00 sec 75.5 MBytes 633 Mbits/sec [ 5] 3.00-4.00 sec 72.9 MBytes 611 Mbits/sec [ 5] 4.00-5.00 sec 70.5 MBytes 592 Mbits/sec [ 5] 5.00-6.00 sec 69.9 MBytes 586 Mbits/sec [ 5] 6.00-7.00 sec 62.3 MBytes 523 Mbits/sec [ 5] 7.00-8.00 sec 70.7 MBytes 593 Mbits/sec [ 5] 8.00-9.00 sec 76.0 MBytes 638 Mbits/sec [ 5] 9.00-10.00 sec 76.0 MBytes 638 Mbits/sec [ 5] 10.00-10.63 sec 47.8 MBytes 637 Mbits/sec - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate [ 5] 0.00-10.63 sec 726 MBytes 573 Mbits/sec receiver iperf Done. Performance from either or both chip sets similar to NetBSD's performance for either would be nice on FreeBSD compared to what FreeBSD gets now. === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)Received on Fri Jul 17 2020 - 22:26:38 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:24 UTC