Realtek r8156 2.5GbE USB network performance

      Comments Off on Realtek r8156 2.5GbE USB network performance

Test base:

  • System #1
    Rock960B debian stretcch aarch64, RK3399 @ Performance governor, 1.4GHz x 4 + 1.8GHz x 2
    Kernel customized from ‘stable-4.4.-rk3399-linux-v2.1x’
    Board configured for 4GB DDR3, 32GB eMMC 5.1
  • System #2
    Intel i7-7700 @ 3.6GHz , 32GB DDR4, Windows 10
  • Condition
    Dual r8156 USB3.1 2.5GbE adaptors connected directly.
    Each system configured only for IP address, 10.0.0.1 and 10.0.0.2

Tested result:

in text:

Windows10 PC(intel i7-7700) -> Rock960B(rk3399)

warning: Ignoring nonsense TCP MSS 0
Connecting to host 10.0.0.2, port 5201
[  5] local 10.0.0.1 port 13475 connected to 10.0.0.2 port 5201
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  87.0 MBytes   729 Mbits/sec
[  5]   1.00-2.00   sec  89.0 MBytes   747 Mbits/sec
[  5]   2.00-3.00   sec  88.1 MBytes   739 Mbits/sec
[  5]   3.00-4.00   sec  88.5 MBytes   743 Mbits/sec
[  5]   4.00-5.00   sec  87.8 MBytes   737 Mbits/sec
[  5]   5.00-6.00   sec  88.4 MBytes   741 Mbits/sec
[  5]   6.00-7.00   sec  87.6 MBytes   735 Mbits/sec
[  5]   7.00-8.00   sec  88.0 MBytes   738 Mbits/sec
[  5]   8.00-9.00   sec  88.2 MBytes   740 Mbits/sec
[  5]   9.00-10.00  sec  88.2 MBytes   740 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-10.00  sec   881 MBytes   739 Mbits/sec                  sender
[  5]   0.00-10.00  sec   881 MBytes   739 Mbits/sec                  receiver

iperf Done.

Rock960B(rk3399) -> Windows10 PC(intel i7-7700)
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 10.0.0.2, port 55938
[  5] local 10.0.0.1 port 5201 connected to 10.0.0.2 port 55940
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec   132 MBytes  1.11 Gbits/sec
[  5]   1.00-2.00   sec   146 MBytes  1.22 Gbits/sec
[  5]   2.00-3.00   sec   144 MBytes  1.21 Gbits/sec
[  5]   3.00-4.00   sec   140 MBytes  1.18 Gbits/sec
[  5]   4.00-5.00   sec   150 MBytes  1.26 Gbits/sec
[  5]   5.00-6.00   sec   152 MBytes  1.27 Gbits/sec
[  5]   6.00-7.00   sec   155 MBytes  1.30 Gbits/sec
[  5]   7.00-8.00   sec   157 MBytes  1.31 Gbits/sec
[  5]   8.00-9.00   sec   157 MBytes  1.31 Gbits/sec
[  5]   9.00-10.00  sec   153 MBytes  1.28 Gbits/sec
[  5]  10.00-10.02  sec  3.16 MBytes  1.26 Gbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-10.02  sec  1.45 GBytes  1.25 Gbits/sec                  receiver
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------

Windows 10 … it’s … 🙁

_ps_

Each loopback bandwidth are, 10Gbps for RK3399, 18Gbps for intel i7-7700.