Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jul 2020 13:03:44 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        John-Mark Gurney <jmg@funkthat.com>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: CFT: major update to if_ure (RPi4B uefi/ACPI booted example's iperf3 output)
Message-ID:  <50C4E558-E2A8-4847-84F5-47DDB17C5915@yahoo.com>
In-Reply-To: <6A801746-4FCA-450E-9A56-C8E06DF68C2D@yahoo.com>
References:  <D5A3AECA-96C8-4E16-8795-B590ED9D82E3.ref@yahoo.com> <D5A3AECA-96C8-4E16-8795-B590ED9D82E3@yahoo.com> <20200727012035.GS4213@funkthat.com> <F5CFD6E1-787B-4416-B666-86847166D99F@yahoo.com> <C2C302F7-7F36-450D-AF91-858008CBC5FA@yahoo.com> <78CB1756-28D7-4442-934D-9C4D2B37EC67@yahoo.com> <20200728014444.GY4213@funkthat.com> <B3042C56-23BB-4C18-AE44-BE22986F51B7@yahoo.com> <FF15A935-F3C4-415A-A62B-69F412584229@yahoo.com> <6A801746-4FCA-450E-9A56-C8E06DF68C2D@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I had reason to switch to using the RPi4B, which happens
to be booted from ACPI. The only Ethernet connection
present for this test is via:

Autoloading module: if_ure.ko
ure0 on uhub1
ure0: <Realtek USB 10/100/1000 LAN, class 0/0, rev 3.00/30.00, addr 2> =
on usbus0
add host 127.0.0.1: gateway lo0 fib 0: route already in table
miibus0: <MII bus> on ure0
rgephy0: <RTL8251/8153 1000BASE-T media interface> PHY 0 on miibus0
rgephy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, =
1000baseT-FDX, 1000baseT-FDX-master, auto
ue0: <USB Ethernet> on ure0
ue0: Ethernet address: ###

. . .

ue0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu =
1500
        =
options=3D68009b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LINKSTA=
TE,RXCSUM_IPV6,TXCSUM_IPV6>
        ether ###
        inet 192.168.1.133 netmask 0xffffff00 broadcast 192.168.1.255
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

# iperf3 -c 192.168.1.120 --get-server-output
Connecting to host 192.168.1.120, port 5201
[  5] local 192.168.1.133 port 15954 connected to 192.168.1.120 port =
5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  83.6 MBytes   702 Mbits/sec  797   17.1 KBytes  =
    =20
[  5]   1.00-2.00   sec  83.5 MBytes   700 Mbits/sec  797   7.13 KBytes  =
    =20
[  5]   2.00-3.00   sec  83.7 MBytes   702 Mbits/sec  783   1.43 KBytes  =
    =20
[  5]   3.00-4.00   sec  83.3 MBytes   699 Mbits/sec  813    127 KBytes  =
    =20
[  5]   4.00-5.00   sec  82.8 MBytes   695 Mbits/sec  806   18.5 KBytes  =
    =20
[  5]   5.00-6.00   sec  83.9 MBytes   704 Mbits/sec  822   38.4 KBytes  =
    =20
[  5]   6.00-7.00   sec  83.7 MBytes   702 Mbits/sec  808   64.2 KBytes  =
    =20
[  5]   7.00-8.00   sec  83.1 MBytes   697 Mbits/sec  787   92.2 KBytes  =
    =20
[  5]   8.00-9.00   sec  83.2 MBytes   698 Mbits/sec  788   51.2 KBytes  =
    =20
[  5]   9.00-10.00  sec  83.1 MBytes   697 Mbits/sec  799   47.1 KBytes  =
    =20
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec   834 MBytes   700 Mbits/sec  8000             =
sender
[  5]   0.00-10.24  sec   834 MBytes   683 Mbits/sec                  =
receiver

Server output:
Accepted connection from 192.168.1.133, port 18615
[  5] local 192.168.1.120 port 5201 connected to 192.168.1.133 port =
15954
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  63.7 MBytes   535 Mbits/sec                 =20
[  5]   1.00-2.00   sec  83.3 MBytes   699 Mbits/sec                 =20
[  5]   2.00-3.00   sec  83.6 MBytes   701 Mbits/sec                 =20
[  5]   3.00-4.00   sec  83.5 MBytes   700 Mbits/sec                 =20
[  5]   4.00-5.00   sec  83.4 MBytes   699 Mbits/sec                 =20
[  5]   5.00-6.00   sec  83.5 MBytes   700 Mbits/sec                 =20
[  5]   6.00-7.00   sec  83.2 MBytes   698 Mbits/sec                 =20
[  5]   7.00-8.00   sec  83.5 MBytes   701 Mbits/sec                 =20
[  5]   8.00-9.00   sec  83.1 MBytes   697 Mbits/sec                 =20
[  5]   9.00-10.00  sec  83.4 MBytes   700 Mbits/sec                 =20
[  5]  10.00-10.24  sec  19.6 MBytes   693 Mbits/sec                 =20
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-10.24  sec   834 MBytes   683 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.133 port 55961 connected to 192.168.1.120 port =
5201
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec   111 MBytes   933 Mbits/sec                 =20
[  5]   1.00-2.00   sec   111 MBytes   933 Mbits/sec                 =20
[  5]   2.00-3.00   sec   111 MBytes   933 Mbits/sec                 =20
[  5]   3.00-4.00   sec   111 MBytes   933 Mbits/sec                 =20
[  5]   4.00-5.00   sec   111 MBytes   932 Mbits/sec                 =20
[  5]   5.00-6.00   sec   111 MBytes   933 Mbits/sec                 =20
[  5]   6.00-7.00   sec   111 MBytes   933 Mbits/sec                 =20
[  5]   7.00-8.00   sec   111 MBytes   933 Mbits/sec                 =20
[  5]   8.00-9.00   sec   111 MBytes   933 Mbits/sec                 =20
[  5]   9.00-10.00  sec   111 MBytes   933 Mbits/sec                 =20
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.23  sec  1.09 GBytes   914 Mbits/sec  498             =
sender
[  5]   0.00-10.00  sec  1.09 GBytes   933 Mbits/sec                  =
receiver

Server output:
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 192.168.1.133, port 51297
[  5] local 192.168.1.120 port 5201 connected to 192.168.1.133 port =
55961
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  87.5 MBytes   734 Mbits/sec   72   1.60 MBytes  =
    =20
[  5]   1.00-2.00   sec   111 MBytes   933 Mbits/sec   92   1.60 MBytes  =
    =20
[  5]   2.00-3.00   sec   111 MBytes   933 Mbits/sec   96    191 KBytes  =
    =20
[  5]   3.00-4.00   sec   111 MBytes   933 Mbits/sec   99    234 KBytes  =
    =20
[  5]   4.00-5.00   sec   111 MBytes   933 Mbits/sec   87   1.06 MBytes  =
    =20
[  5]   5.00-6.00   sec   111 MBytes   932 Mbits/sec   50    529 KBytes  =
    =20
[  5]   6.00-7.00   sec   111 MBytes   933 Mbits/sec    0    779 KBytes  =
    =20
[  5]   7.00-8.00   sec   111 MBytes   933 Mbits/sec    0    964 KBytes  =
    =20
[  5]   8.00-9.00   sec   111 MBytes   933 Mbits/sec    2    469 KBytes  =
    =20
[  5]   9.00-10.00  sec   111 MBytes   933 Mbits/sec    0    739 KBytes  =
    =20
[  5]  10.00-10.23  sec  25.4 MBytes   932 Mbits/sec    0    787 KBytes  =
    =20
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.23  sec  1.09 GBytes   914 Mbits/sec  498             =
sender


iperf Done.

For reference, the RPi4B's CortextA72 is speed controlled via:

over_voltage=3D6
arm_freq=3D2000

in the RPi4's config.txt . As stands UEFI is configured to
impose a 3 GiByte RAM limit to avoid FreeBSD not handling
it DMA address-range limitations yet.

My prior A72 test was on a MACCHIATObin Double Shot (where
EtherNet  via USB3 is the only type of EtherNet available
in my context).

=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?50C4E558-E2A8-4847-84F5-47DDB17C5915>