Realtek RTL8157 5 GbE adapters with 10 Gb USB interface - Wavlink, WisdPi

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

sh1

New Member
Sep 20, 2020
9
3
3
I'm running 2.20.1 on Ubuntu between RTL 8157 (Minthouz USB-C) and RTL 8126 (Motherboard) on the same host. Getting consistent 4.7Gbps.

[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 565 MBytes 4.74 Gbits/sec 0 994 KBytes
[ 5] 1.00-2.00 sec 562 MBytes 4.71 Gbits/sec 0 994 KBytes
[ 5] 2.00-3.00 sec 561 MBytes 4.71 Gbits/sec 0 1.02 MBytes
[ 5] 3.00-4.00 sec 561 MBytes 4.71 Gbits/sec 0 1.02 MBytes
[ 5] 4.00-5.00 sec 561 MBytes 4.71 Gbits/sec 0 1.02 MBytes
[ 5] 5.00-6.00 sec 561 MBytes 4.71 Gbits/sec 0 1.02 MBytes

Same thing going the other direction.
 

John T Davis

Active Member
Nov 19, 2022
109
26
28
I'm running 2.20.1 on Ubuntu between RTL 8157 (Minthouz USB-C) and RTL 8126 (Motherboard) on the same host. Getting consistent 4.7Gbps.

[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 565 MBytes 4.74 Gbits/sec 0 994 KBytes
[ 5] 1.00-2.00 sec 562 MBytes 4.71 Gbits/sec 0 994 KBytes
[ 5] 2.00-3.00 sec 561 MBytes 4.71 Gbits/sec 0 1.02 MBytes
[ 5] 3.00-4.00 sec 561 MBytes 4.71 Gbits/sec 0 1.02 MBytes
[ 5] 4.00-5.00 sec 561 MBytes 4.71 Gbits/sec 0 1.02 MBytes
[ 5] 5.00-6.00 sec 561 MBytes 4.71 Gbits/sec 0 1.02 MBytes

Same thing going the other direction.
Awesome!

Is that a better result than you were getting before?
 

Shonk

Active Member
Nov 25, 2016
168
94
28
74
Here's an AQC113C (10 Gbps) to RTL8126 (5 Gbps) with 9K jumbo frames for reference

Code:
D:\Documents\Apps\iperf3.18>iperf3 -t 20 -c i9-9900k -R
Connecting to host i9-9900k, port 5201
Reverse mode, remote host i9-9900k is sending
[  5] local 192.168.0.7 port 53889 connected to 192.168.0.2 port 5201
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec   590 MBytes  4.95 Gbits/sec
[  5]   1.00-2.00   sec   590 MBytes  4.95 Gbits/sec
[  5]   2.00-3.00   sec   590 MBytes  4.95 Gbits/sec
[  5]   3.00-4.00   sec   590 MBytes  4.95 Gbits/sec
[  5]   4.00-5.00   sec   590 MBytes  4.95 Gbits/sec
[  5]   5.00-6.00   sec   590 MBytes  4.95 Gbits/sec
[  5]   6.00-7.00   sec   590 MBytes  4.95 Gbits/sec
[  5]   7.00-8.00   sec   590 MBytes  4.95 Gbits/sec
[  5]   8.00-9.00   sec   591 MBytes  4.95 Gbits/sec
[  5]   9.00-10.00  sec   590 MBytes  4.95 Gbits/sec
[  5]  10.00-11.00  sec   590 MBytes  4.95 Gbits/sec
[  5]  11.00-12.00  sec   590 MBytes  4.95 Gbits/sec
[  5]  12.00-13.00  sec   590 MBytes  4.95 Gbits/sec
[  5]  13.00-14.00  sec   590 MBytes  4.95 Gbits/sec
[  5]  14.00-15.00  sec   590 MBytes  4.95 Gbits/sec
[  5]  15.00-16.00  sec   590 MBytes  4.95 Gbits/sec
[  5]  16.00-17.00  sec   590 MBytes  4.95 Gbits/sec
[  5]  17.00-18.00  sec   590 MBytes  4.95 Gbits/sec
[  5]  18.00-19.00  sec   590 MBytes  4.95 Gbits/sec
[  5]  19.00-20.00  sec   590 MBytes  4.95 Gbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-20.00  sec  11.5 GBytes  4.95 Gbits/sec                  sender
[  5]   0.00-20.00  sec  11.5 GBytes  4.95 Gbits/sec                  receiver

iperf Done.

D:\Documents\Apps\iperf3.18>iperf3 -t 20 -c i9-9900k
Connecting to host i9-9900k, port 5201
[  5] local 192.168.0.7 port 53891 connected to 192.168.0.2 port 5201
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.02   sec   606 MBytes  4.99 Gbits/sec
[  5]   1.02-2.02   sec   591 MBytes  4.96 Gbits/sec
[  5]   2.02-3.02   sec   591 MBytes  4.96 Gbits/sec
[  5]   3.02-4.02   sec   591 MBytes  4.96 Gbits/sec
[  5]   4.02-5.02   sec   591 MBytes  4.96 Gbits/sec
[  5]   5.02-6.02   sec   591 MBytes  4.96 Gbits/sec
[  5]   6.02-7.02   sec   589 MBytes  4.94 Gbits/sec
[  5]   7.02-8.02   sec   591 MBytes  4.96 Gbits/sec
[  5]   8.02-9.02   sec   591 MBytes  4.96 Gbits/sec
[  5]   9.02-10.02  sec   591 MBytes  4.96 Gbits/sec
[  5]  10.02-11.02  sec   591 MBytes  4.96 Gbits/sec
[  5]  11.02-12.02  sec   591 MBytes  4.96 Gbits/sec
[  5]  12.02-13.02  sec   591 MBytes  4.96 Gbits/sec
[  5]  13.02-14.02  sec   591 MBytes  4.96 Gbits/sec
[  5]  14.02-15.02  sec   591 MBytes  4.96 Gbits/sec
[  5]  15.02-16.02  sec   591 MBytes  4.96 Gbits/sec
[  5]  16.02-17.02  sec   591 MBytes  4.96 Gbits/sec
[  5]  17.02-18.02  sec   591 MBytes  4.96 Gbits/sec
[  5]  18.02-19.02  sec   591 MBytes  4.96 Gbits/sec
[  5]  19.02-20.02  sec   591 MBytes  4.96 Gbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-20.02  sec  11.6 GBytes  4.96 Gbits/sec                  sender
[  5]   0.00-20.02  sec  11.6 GBytes  4.96 Gbits/sec                  receiver

iperf Done.

D:\Documents\Apps\iperf3.18>pause
Press any key to continue . . .
 

John T Davis

Active Member
Nov 19, 2022
109
26
28
Here's an AQC113C (10 Gbps) to RTL8126 (5 Gbps) with 9K jumbo frames for reference

Code:
D:\Documents\Apps\iperf3.18>iperf3 -t 20 -c i9-9900k -R
Connecting to host i9-9900k, port 5201
Reverse mode, remote host i9-9900k is sending
[  5] local 192.168.0.7 port 53889 connected to 192.168.0.2 port 5201
[ ID] Interval           Transfer     Bitrate
…
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-20.00  sec  11.5 GBytes  4.95 Gbits/sec                  sender
[  5]   0.00-20.00  sec  11.5 GBytes  4.95 Gbits/sec                  receiver

iperf Done.

D:\Documents\Apps\iperf3.18>iperf3 -t 20 -c i9-9900k
Connecting to host i9-9900k, port 5201
[  5] local 192.168.0.7 port 53891 connected to 192.168.0.2 port 5201
[ ID] Interval           Transfer     Bitrate
…
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-20.02  sec  11.6 GBytes  4.96 Gbits/sec                  sender
[  5]   0.00-20.02  sec  11.6 GBytes  4.96 Gbits/sec                  receiver

iperf Done.

D:\Documents\Apps\iperf3.18>pause
Press any key to continue . . .
Excellent. Looks like it's maxing out the 5 Gbps NIC. :)
 

sh1

New Member
Sep 20, 2020
9
3
3
Has anyone been able to set the MTU to 9000 on a USB-C RTL-8157? Seems maxmtu is 1504 on these devices.
 

John T Davis

Active Member
Nov 19, 2022
109
26
28
Has anyone been able to set the MTU to 9000 on a USB-C RTL-8157? Seems maxmtu is 1504 on these devices.
Yes. I have the WisPi version, which has a USB-C port on the device. It's connected to a Proxmox server via a USB-C to USB-A 10 Gbps cable.
Code:
root@andromeda9:~# ip -c a
5: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc pfifo_fast master vmbr1 state UP group default qlen 1000
8: vmbr1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc noqueue state UP group default qlen 1000
    link/ether 34:c8:d6:b1:0b:f0 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::36c8:d6ff:feb1:bf0/64 scope link
       valid_lft forever preferred_lft forever
What tools are you using to try to configure it? What does your config look like? I'm on a Proxmox 8/Debian 12-based system and set the NIC up as part of a vmbr1 bridge that also has MTU 9000 set.

(You don't need all this if you're not using a virtual bridge.)

Code:
          │ File: /etc/network/interfaces
  19   │ iface eth0 inet manual
  20   │     mtu 9000
  21   │ #5 Gbps Realtek USB NIC - MTU 9000
30    │
  31   │ auto vmbr1
  32   │ iface vmbr1 inet manual
  33   │     bridge-ports eth0
  34   │     bridge-stp off
  35   │     bridge-fd 0
  36   │     bridge-vlan-aware yes
  37   │     bridge-vids 2-4094
  38   │     mtu 9000
  39   │ #Bridge for 5 Gbps Realtek USB NIC - MTU 9000
 

ristomatti

New Member
Sep 30, 2025
2
0
1
If you host an NFS share on a system with one of the USB network adapters, the Linux kernel will get wedged, and eventually hang, and then crash.
In case you still have the RTL 8157 adapters, have you tried this patch from GitHub user thebied-red at wget/realtek-r8152-linux? I just recently purchased two adapters with the same chip (by Ugreen) and ended up in the same rabbit hole. I got some promising results from couple of hours of testing. It'd be great to hear your experience before I set up anything important over NFS using these.

P.S. Hello to all from a new user! For those interested, my current setup is a Proxmox cluster made of a refurbished Lenovo ThinkCentre M910q, a Beelink EQ14 and a RPi 4 8GB (running PXVIRT fork of Proxmox).

Edit: Reference the actual patch author.
 
Last edited: