USB3.0 CM3 IO Board

Hi all,

I just wanted to check that my USB3.0 2.5GB Network device is working. The Device is Asus usb-c2500, drivers loaded without issue “r8152” https://github.com/wget/realtek-r8152-linux

ethtool enx08bfb85172fa

Settings for enx08bfb85172fa:
Supported ports: [ MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
2500baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
2500baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Link partner advertised pause frame use: No
Link partner advertised auto-negotiation: Yes
Link partner advertised FEC modes: Not reported
Speed: 2500Mb/s
Duplex: Full
Auto-negotiation: on
Port: MII
PHYAD: 32
Transceiver: internal
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00007fff (32767)
drv probe link timer ifdown ifup rx_err tx_err tx_queued intr tx_done rx_status pktdata hw wol
Link detected: yes

Because when I perform a iperf test I can’t get over 1GB/s

root@radxa-cm3-io:~# iperf3 -c 192.168.2.203 -B 192.168.2.59
Connecting to host 192.168.2.203, port 5201
[ 5] local 192.168.2.59 port 49465 connected to 192.168.2.203 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 111 MBytes 930 Mbits/sec 0 690 KBytes
[ 5] 1.00-2.00 sec 112 MBytes 943 Mbits/sec 0 690 KBytes
[ 5] 2.00-3.00 sec 111 MBytes 934 Mbits/sec 0 690 KBytes
[ 5] 3.00-4.00 sec 112 MBytes 944 Mbits/sec 0 690 KBytes
[ 5] 4.00-5.00 sec 112 MBytes 944 Mbits/sec 0 690 KBytes
[ 5] 5.00-6.00 sec 112 MBytes 944 Mbits/sec 0 690 KBytes
[ 5] 6.00-7.01 sec 112 MBytes 939 Mbits/sec 0 690 KBytes
[ 5] 7.01-8.00 sec 111 MBytes 938 Mbits/sec 0 690 KBytes
[ 5] 8.00-9.00 sec 112 MBytes 944 Mbits/sec 0 690 KBytes
[ 5] 9.00-10.00 sec 112 MBytes 944 Mbits/sec 0 690 KBytes


[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 1.09 GBytes 940 Mbits/sec 0 sender
[ 5] 0.00-10.01 sec 1.09 GBytes 937 Mbits/sec receiver

/: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
ID 1d6b:0003 Linux Foundation 3.0 root hub
/sys/bus/usb/devices/usb6 /dev/bus/usb/006/001
|__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=r8152, 5000M
ID 0b05:1976 ASUSTek Computer, Inc.
/sys/bus/usb/devices/6-1 /dev/bus/usb/006/002

Everything seems to be ok, no CPU spikes.

Am I missing something? Is there any Jumper settings that I need to set so that the USB port is active? I am not using the SATA ports for anything .

Thanks in advance!

I just tested a USB3.0 drive and it performs well on the same port…

/dev/sdg1:
Timing buffered disk reads: 642 MB in 3.00 seconds = 213.89 MB/sec
root@radxa-cm3-io:~# hdparm -t /dev/sdg1

Strange…I remove the HDMI connector and tested again and hey-presto…

Connecting to host 192.168.2.203, port 5201
[ 5] local 192.168.2.59 port 36872 connected to 192.168.2.203 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 231 MBytes 1.94 Gbits/sec 0 1.40 MBytes
[ 5] 1.00-2.00 sec 279 MBytes 2.34 Gbits/sec 0 1.40 MBytes
[ 5] 2.00-3.00 sec 264 MBytes 2.21 Gbits/sec 0 1.40 MBytes
[ 5] 3.00-4.00 sec 279 MBytes 2.34 Gbits/sec 0 1.40 MBytes
[ 5] 4.00-5.00 sec 279 MBytes 2.34 Gbits/sec 0 1.40 MBytes
[ 5] 5.00-6.00 sec 279 MBytes 2.34 Gbits/sec 0 1.40 MBytes
[ 5] 6.00-7.00 sec 279 MBytes 2.34 Gbits/sec 0 1.40 MBytes
[ 5] 7.00-8.00 sec 279 MBytes 2.34 Gbits/sec 0 1.40 MBytes
[ 5] 8.00-9.00 sec 279 MBytes 2.34 Gbits/sec 0 1.40 MBytes
[ 5] 9.00-10.00 sec 281 MBytes 2.36 Gbits/sec 0 1.40 MBytes


[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 2.66 GBytes 2.29 Gbits/sec 0 sender
[ 5] 0.00-10.01 sec 2.66 GBytes 2.28 Gbits/sec receiver

Strange…but seems fixed now.