A Wireguard comparison DB

Interestingly, the latest build on OpenWrt's build server for the ramips/mt7621 target is from March 12th with a 5.15.150 kernel.
I can compile my own build and run the benchmark later today.

after nft flush ruleset

./benchmark.sh

root@AsusWRT:/wg-bench# nft flush ruleset
root@AsusWRT:/wg-bench# ./benchmark.sh
Connecting to host 169.254.200.2, port 5201
[ 5] local 169.254.200.1 port 40826 connected to 169.254.200.2 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 111 MBytes 927 Mbits/sec 0 708 KBytes
[ 5] 1.00-2.00 sec 108 MBytes 907 Mbits/sec 0 819 KBytes
[ 5] 2.00-3.00 sec 109 MBytes 913 Mbits/sec 0 819 KBytes
[ 5] 3.00-4.00 sec 111 MBytes 931 Mbits/sec 0 859 KBytes
[ 5] 4.00-5.00 sec 110 MBytes 922 Mbits/sec 0 1010 KBytes
[ 5] 5.00-6.00 sec 110 MBytes 924 Mbits/sec 0 1.17 MBytes
[ 5] 6.00-7.00 sec 111 MBytes 929 Mbits/sec 0 1.17 MBytes
[ 5] 7.00-8.00 sec 111 MBytes 932 Mbits/sec 0 1.17 MBytes
[ 5] 8.00-9.00 sec 109 MBytes 916 Mbits/sec 0 1.17 MBytes
[ 5] 9.00-10.00 sec 111 MBytes 934 Mbits/sec 0 1.17 MBytes


[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 1.08 GBytes 924 Mbits/sec 0 sender
[ 5] 0.00-10.00 sec 1.07 GBytes 922 Mbits/sec receiver

iperf Done.

updated benchmark result with 6.1 kernel:
| D-Link COVR-X1860 A1 | Mediatek MT7621A (MIPS 2 Core 4 Thread, 880MHz) | Snapshot (6.1.81) | 108 MBytes |

./openwrt-benchmark.sh
Routers details:
{
        "kernel": "6.1.81",
        "hostname": "COVR-X1860",
        "system": "MediaTek MT7621 ver:1 eco:3",
        "model": "D-Link COVR-X1860 A1",
        "board_name": "dlink,covr-x1860-a1",
        "rootfs_type": "squashfs",
        "release": {
                "distribution": "OpenWrt",
                "version": "SNAPSHOT",
                "revision": "r0-b81f2ab",
                "target": "ramips/mt7621",
                "description": "OpenWrt SNAPSHOT r0-b81f2ab"
        }
}
Connecting to host 169.254.200.2, port 4242
[  5] local 169.254.200.1 port 54590 connected to 169.254.200.2 port 4242
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  11.6 MBytes  97.4 Mbits/sec    0    199 KBytes       
[  5]   1.00-2.00   sec  13.0 MBytes   109 Mbits/sec    0    321 KBytes       
[  5]   2.00-3.00   sec  13.0 MBytes   109 Mbits/sec    0    354 KBytes       
[  5]   3.00-4.00   sec  13.1 MBytes   110 Mbits/sec    0    377 KBytes       
[  5]   4.00-5.00   sec  12.9 MBytes   108 Mbits/sec    0    393 KBytes       
[  5]   5.00-6.00   sec  13.0 MBytes   109 Mbits/sec    0    393 KBytes       
[  5]   6.00-7.00   sec  12.8 MBytes   107 Mbits/sec    0    393 KBytes       
[  5]   7.00-8.00   sec  13.1 MBytes   110 Mbits/sec    0    393 KBytes       
[  5]   8.00-9.00   sec  12.9 MBytes   108 Mbits/sec    0    393 KBytes       
[  5]   9.00-10.00  sec  12.9 MBytes   108 Mbits/sec    0    393 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec   128 MBytes   108 Mbits/sec    0             sender
[  5]   0.00-10.01  sec   127 MBytes   107 Mbits/sec                  receiver

May I ask which N100 machine you are using?
I just bought CWWK Magic N100 with 16GB DDR5, running the test I can see similar figures but it only last for 4-5 intervals, then it drops at the end (down to 1-2Gbps), and can you try to run the benchmark with -R?

Sure.

16 Gb version
Topton

root@OpenWrt:/wg-bench#  ./benchmark.sh -R
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec   516 MBytes  4.33 Gbits/sec
[  5]   1.00-2.00   sec   540 MBytes  4.53 Gbits/sec
[  5]   2.00-3.00   sec   542 MBytes  4.54 Gbits/sec
[  5]   3.00-4.00   sec   534 MBytes  4.48 Gbits/sec
[  5]   4.00-5.00   sec   513 MBytes  4.30 Gbits/sec
[  5]   5.00-6.00   sec   535 MBytes  4.49 Gbits/sec
[  5]   6.00-7.00   sec   532 MBytes  4.46 Gbits/sec
[  5]   7.00-8.00   sec   539 MBytes  4.52 Gbits/sec
[  5]   8.00-9.00   sec   543 MBytes  4.56 Gbits/sec
[  5]   9.00-10.00  sec   542 MBytes  4.55 Gbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  5.22 GBytes  4.48 Gbits/sec  5691             sender
[  5]   0.00-10.00  sec  5.21 GBytes  4.48 Gbits/sec                  receiver
1 Like

Bananapi R4

ubus call system board
{
        "kernel": "6.1.82",
        "hostname": "OpenWrt",
        "system": "ARMv8 Processor rev 0",
        "model": "Bananapi BPI-R4",
        "board_name": "bananapi,bpi-r4",
        "rootfs_type": "squashfs",
        "release": {
                "distribution": "OpenWrt",
                "version": "SNAPSHOT",
                "revision": "r25690-b1d579f174",
                "target": "mediatek/filogic",
                "description": "OpenWrt SNAPSHOT r25690-b1d579f174"
5] local 169.254.200.1 port 56334 connected to 169.254.200.2 port 4242
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec   148 MBytes  1.24 Gbits/sec    0   1.50 MBytes
[  5]   1.00-2.00   sec   140 MBytes  1.17 Gbits/sec    0   1.58 MBytes
[  5]   2.00-3.00   sec   138 MBytes  1.16 Gbits/sec    0   1.58 MBytes
[  5]   3.00-4.00   sec   139 MBytes  1.16 Gbits/sec    0   1.67 MBytes
[  5]   4.00-5.00   sec   138 MBytes  1.16 Gbits/sec    0   1.67 MBytes
[  5]   5.00-6.00   sec   140 MBytes  1.18 Gbits/sec    0   1.96 MBytes
[  5]   6.00-7.00   sec   140 MBytes  1.18 Gbits/sec    0   1.96 MBytes
[  5]   7.00-8.00   sec   139 MBytes  1.17 Gbits/sec    0   2.08 MBytes
[  5]   8.00-9.00   sec   138 MBytes  1.16 Gbits/sec    0   2.08 MBytes
[  5]   9.00-10.00  sec   137 MBytes  1.15 Gbits/sec    0   2.08 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  1.36 GBytes  1.17 Gbits/sec    0             sender
[  5]   0.00-10.00  sec  1.36 GBytes  1.17 Gbits/sec                  receiver

3 Likes

ASUS RT-AC88U

ubus call system board

root@OpenWrt:~/wg-bench# ubus call system board
{
"kernel": "5.15.150",
"hostname": "OpenWrt",
"system": "ARMv7 Processor rev 0 (v7l)",
"model": "ASUS RT-AC88U",
"board_name": "asus,rt-ac88u",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "23.05.3",
"revision": "r23809-234f1a2efa",
"target": "bcm53xx/generic",
"description": "OpenWrt 23.05.3 r23809-234f1a2efa"
}
}

./benchmark.sh

root@OpenWrt:~/wg-bench# ./benchmark.sh
Connecting to host 169.254.200.2, port 5201
[ 5] local 169.254.200.1 port 44866 connected to 169.254.200.2 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 23.4 MBytes 196 Mbits/sec 0 452 KBytes
[ 5] 1.00-2.00 sec 23.4 MBytes 196 Mbits/sec 0 452 KBytes
[ 5] 2.00-3.00 sec 23.5 MBytes 197 Mbits/sec 0 452 KBytes
[ 5] 3.00-4.00 sec 23.1 MBytes 194 Mbits/sec 0 452 KBytes
[ 5] 4.00-5.01 sec 24.2 MBytes 202 Mbits/sec 0 452 KBytes
[ 5] 5.01-6.00 sec 24.0 MBytes 203 Mbits/sec 0 452 KBytes
[ 5] 6.00-7.00 sec 24.4 MBytes 204 Mbits/sec 0 452 KBytes
[ 5] 7.00-8.00 sec 24.5 MBytes 206 Mbits/sec 0 452 KBytes
[ 5] 8.00-9.00 sec 23.9 MBytes 200 Mbits/sec 0 452 KBytes
[ 5] 9.00-10.00 sec 23.8 MBytes 199 Mbits/sec 0 452 KBytes


[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 238 MBytes 200 Mbits/sec 0 sender
[ 5] 0.00-10.01 sec 238 MBytes 199 Mbits/sec receiver

iperf Done.
root@OpenWrt:~/wg-bench# ./benchmark.sh -R
Connecting to host 169.254.200.2, port 5201
Reverse mode, remote host 169.254.200.2 is sending
[ 5] local 169.254.200.1 port 59606 connected to 169.254.200.2 port 5201
[ ID] Interval Transfer Bitrate
[ 5] 0.00-1.00 sec 21.0 MBytes 175 Mbits/sec
[ 5] 1.00-2.00 sec 21.8 MBytes 183 Mbits/sec
[ 5] 2.00-3.00 sec 22.0 MBytes 185 Mbits/sec
[ 5] 3.00-4.00 sec 22.1 MBytes 185 Mbits/sec
[ 5] 4.00-5.00 sec 21.4 MBytes 180 Mbits/sec
[ 5] 5.00-6.00 sec 22.1 MBytes 186 Mbits/sec
[ 5] 6.00-7.00 sec 22.1 MBytes 186 Mbits/sec
[ 5] 7.00-8.00 sec 22.0 MBytes 184 Mbits/sec
[ 5] 8.00-9.00 sec 22.1 MBytes 186 Mbits/sec
[ 5] 9.00-10.00 sec 22.4 MBytes 187 Mbits/sec


[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 220 MBytes 184 Mbits/sec 0 sender
[ 5] 0.00-10.00 sec 219 MBytes 184 Mbits/sec receiver

iperf Done.

2 Likes

As a continuation from my previous tests I retested with kernel 6.6 - NSS-wifi build based on @qosmio repo.

root@QNAP:/tmp# ubus call system board
{
        "kernel": "6.6.22",
        "hostname": "QNAP",
        "system": "ARMv8 Processor rev 4",
        "model": "QNAP 301w",
        "board_name": "qnap,301w",
        "rootfs_type": "squashfs",
        "release": {
                "distribution": "OpenWrt",
                "version": "SNAPSHOT",
                "revision": "r25989-33ebd036e2",
                "target": "qualcommax/ipq807x",
                "description": "OpenWrt SNAPSHOT r25989-33ebd036e2"

There is a big boost from my previous test with kernel 6.1.

root@QNAP:/tmp# ./benchmark.sh
Connecting to host 169.254.200.2, port 5201
[  5] local 169.254.200.1 port 54028 connected to 169.254.200.2 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  92.1 MBytes   771 Mbits/sec    0    430 KBytes
[  5]   1.00-2.00   sec  91.0 MBytes   764 Mbits/sec    0    430 KBytes
[  5]   2.00-3.00   sec  92.2 MBytes   774 Mbits/sec    0    449 KBytes
[  5]   3.00-4.00   sec  92.2 MBytes   774 Mbits/sec    0    449 KBytes
[  5]   4.00-5.00   sec  92.0 MBytes   772 Mbits/sec    0    449 KBytes
[  5]   5.00-6.00   sec  92.4 MBytes   775 Mbits/sec    0    470 KBytes
[  5]   6.00-7.00   sec  92.2 MBytes   774 Mbits/sec    0    516 KBytes
[  5]   7.00-8.00   sec  92.4 MBytes   775 Mbits/sec    0    540 KBytes
[  5]   8.00-9.00   sec  91.9 MBytes   771 Mbits/sec    0    565 KBytes
[  5]   9.00-10.00  sec  92.0 MBytes   771 Mbits/sec    0    565 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec   920 MBytes   772 Mbits/sec    0             sender
[  5]   0.00-10.00  sec   919 MBytes   771 Mbits/sec                  receiver

iperf Done.
root@QNAP:/tmp# ./benchmark.sh -R
Connecting to host 169.254.200.2, port 5201
Reverse mode, remote host 169.254.200.2 is sending
[  5] local 169.254.200.1 port 50710 connected to 169.254.200.2 port 5201
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  85.2 MBytes   715 Mbits/sec
[  5]   1.00-2.00   sec  85.5 MBytes   717 Mbits/sec
[  5]   2.00-3.00   sec  85.2 MBytes   715 Mbits/sec
[  5]   3.00-4.00   sec  85.6 MBytes   719 Mbits/sec
[  5]   4.00-5.00   sec  85.4 MBytes   716 Mbits/sec
[  5]   5.00-6.00   sec  84.2 MBytes   707 Mbits/sec
[  5]   6.00-7.00   sec  85.4 MBytes   716 Mbits/sec
[  5]   7.00-8.00   sec  84.9 MBytes   712 Mbits/sec
[  5]   8.00-9.00   sec  84.8 MBytes   711 Mbits/sec
[  5]   9.00-10.00  sec  84.6 MBytes   710 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec   852 MBytes   715 Mbits/sec    0             sender
[  5]   0.00-10.00  sec   851 MBytes   714 Mbits/sec                  receiver

iperf Done.

@fakemanhk Update the database accordingly and don't forget I tested this on NSS build and I ran simultaneously Speedtest at 1Gbps download while wg-bench was running.
The total combined throughput of Speedtest WAN & Wg-bench is 1Gbps + 715Mbps with NSS build kernel 6.6. That is not achievable on Non NSS builds.

2 Likes

Now the NSS one is already on kernel 6.6?? That's really great advancement! How about the one without NSS? Is it still the same?

Currently I can't test non NSS build as the router is on duty. When I have a chance I'll retest and update.

Device iEi Puzzle-M902
SoC Marvell CN9130 (Quad Core A72, 2,2GHz)

{
	"kernel": "5.15.150",
	"hostname": "OCTEON-TX2",
	"system": "ARMv8 Processor rev 3",
	"model": "iEi Puzzle-M902",
	"board_name": "iei,puzzle-m902",
	"rootfs_type": "ext4",
	"release": {
		"distribution": "OpenWrt",
		"version": "23.05.3",
		"revision": "r23809-234f1a2efa",
		"target": "mvebu/cortexa72",
		"description": "OpenWrt 23.05.3 r23809-234f1a2efa"
	}
}
./benchmark.sh
Connecting to host 169.254.200.2, port 5201
[  5] local 169.254.200.1 port 42780 connected to 169.254.200.2 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec   172 MBytes  1.44 Gbits/sec    0    808 KBytes       
[  5]   1.00-2.00   sec   170 MBytes  1.43 Gbits/sec    0    808 KBytes       
[  5]   2.00-3.00   sec   172 MBytes  1.44 Gbits/sec    0    899 KBytes       
[  5]   3.00-4.00   sec   172 MBytes  1.45 Gbits/sec    0    899 KBytes       
[  5]   4.00-5.00   sec   170 MBytes  1.42 Gbits/sec    0    899 KBytes       
[  5]   5.00-6.00   sec   170 MBytes  1.43 Gbits/sec    0    899 KBytes       
[  5]   6.00-7.00   sec   172 MBytes  1.45 Gbits/sec    0    899 KBytes       
[  5]   7.00-8.00   sec   171 MBytes  1.44 Gbits/sec    0   1006 KBytes       
[  5]   8.00-9.00   sec   170 MBytes  1.42 Gbits/sec    0   1.12 MBytes       
[  5]   9.00-10.00  sec   167 MBytes  1.40 Gbits/sec    0   1.12 MBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  1.67 GBytes  1.43 Gbits/sec    0             sender
[  5]   0.00-10.00  sec  1.66 GBytes  1.43 Gbits/sec                  receiver
3 Likes

Wow....didn't expect someone owns this (I actually thought about buying this but couldn't get one).

1 Like

I have the QHora-322 (the QNAP version)
It's the same device except it says QNAP on the case.

They only sell the iEi version to corporate customers and it costs the same (and it's hard to get)

I know this one as well, still not available in my country :frowning:

Finally got some time to look into my newly purchased GL-INET MT3000, flashed with official 23.05.3.

root@MT3000:~# ubus call system board | grep 'model\|description'
        "model": "GL.iNet GL-MT3000",
                "description": "OpenWrt 23.05.3 r23809-234f1a2efa"
root@MT3000:~/wg-bench# ./benchmark.sh 
Connecting to host 169.254.200.2, port 5201
[  5] local 169.254.200.1 port 59662 connected to 169.254.200.2 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  50.5 MBytes   423 Mbits/sec   22   1.01 MBytes       
[  5]   1.00-2.00   sec  51.4 MBytes   431 Mbits/sec    0   1.13 MBytes       
[  5]   2.00-3.00   sec  49.4 MBytes   414 Mbits/sec    0   1.20 MBytes       
[  5]   3.00-4.00   sec  46.0 MBytes   386 Mbits/sec    0   1.30 MBytes       
[  5]   4.00-5.00   sec  47.5 MBytes   398 Mbits/sec    0   1.36 MBytes       
[  5]   5.00-6.00   sec  49.1 MBytes   412 Mbits/sec   12   1.02 MBytes       
[  5]   6.00-7.00   sec  49.4 MBytes   415 Mbits/sec    0   1.07 MBytes       
[  5]   7.00-8.00   sec  49.0 MBytes   411 Mbits/sec    0   1.11 MBytes       
[  5]   8.00-9.00   sec  48.2 MBytes   405 Mbits/sec    0   1.13 MBytes       
[  5]   9.00-10.00  sec  50.4 MBytes   423 Mbits/sec    0   1.14 MBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec   491 MBytes   412 Mbits/sec   34             sender
[  5]   0.00-10.01  sec   488 MBytes   409 Mbits/sec                  receiver

iperf Done.
root@MT3000:~/wg-bench# ./benchmark.sh -R
Connecting to host 169.254.200.2, port 5201
Reverse mode, remote host 169.254.200.2 is sending
[  5] local 169.254.200.1 port 34430 connected to 169.254.200.2 port 5201
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  46.4 MBytes   389 Mbits/sec                  
[  5]   1.00-2.00   sec  46.4 MBytes   389 Mbits/sec                  
[  5]   2.00-3.00   sec  47.2 MBytes   396 Mbits/sec                  
[  5]   3.00-4.00   sec  47.8 MBytes   401 Mbits/sec                  
[  5]   4.00-5.00   sec  45.4 MBytes   381 Mbits/sec                  
[  5]   5.00-6.00   sec  48.1 MBytes   404 Mbits/sec                  
[  5]   6.00-7.00   sec  46.8 MBytes   392 Mbits/sec                  
[  5]   7.00-8.00   sec  47.6 MBytes   399 Mbits/sec                  
[  5]   8.00-9.00   sec  46.9 MBytes   393 Mbits/sec                  
[  5]   9.00-10.00  sec  46.2 MBytes   387 Mbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.01  sec   472 MBytes   396 Mbits/sec   26             sender
[  5]   0.00-10.00  sec   469 MBytes   393 Mbits/sec                  receiver

iperf Done.
1 Like

Intel Atom C3558

ubus call system board
root@OpenWrt:/wg-bench# ubus call system board
{
        "kernel": "5.15.150",
        "hostname": "OpenWrt",
        "system": "Intel(R) Atom(TM) CPU C3558 @ 2.20GHz",
        "model": "Dell EMC EDGE620",
        "board_name": "dell-emc-edge620",
        "rootfs_type": "ext4",
        "release": {
                "distribution": "OpenWrt",
                "version": "23.05.3",
                "revision": "r23809-234f1a2efa",
                "target": "x86/64",
                "description": "OpenWrt 23.05.3 r23809-234f1a2efa"
        }
}
./benchmark.sh
root@OpenWrt:/wg-bench# ./benchmark.sh
Connecting to host 169.254.200.2, port 5201
[  5] local 169.254.200.1 port 60640 connected to 169.254.200.2 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec   168 MBytes  1.40 Gbits/sec    0    916 KBytes
[  5]   1.00-2.00   sec   166 MBytes  1.39 Gbits/sec    0    916 KBytes
[  5]   2.00-3.00   sec   164 MBytes  1.38 Gbits/sec    0   1.02 MBytes
[  5]   3.00-4.00   sec   164 MBytes  1.38 Gbits/sec    0   1.08 MBytes
[  5]   4.00-5.00   sec   165 MBytes  1.38 Gbits/sec    0   1.08 MBytes
[  5]   5.00-6.00   sec   163 MBytes  1.37 Gbits/sec    0   1.08 MBytes
[  5]   6.00-7.00   sec   165 MBytes  1.39 Gbits/sec    0   1.08 MBytes
[  5]   7.00-8.00   sec   162 MBytes  1.36 Gbits/sec    0   1.08 MBytes
[  5]   8.00-9.00   sec   163 MBytes  1.37 Gbits/sec    0   1.08 MBytes
[  5]   9.00-10.00  sec   162 MBytes  1.36 Gbits/sec    0   1.08 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  1.60 GBytes  1.38 Gbits/sec    0             sender
[  5]   0.00-10.00  sec  1.60 GBytes  1.38 Gbits/sec                  receiver

iperf Done.
./benchmark.sh -R
root@OpenWrt:/wg-bench# ./benchmark.sh -R
Connecting to host 169.254.200.2, port 5201
Reverse mode, remote host 169.254.200.2 is sending
[  5] local 169.254.200.1 port 38962 connected to 169.254.200.2 port 5201
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec   151 MBytes  1.27 Gbits/sec
[  5]   1.00-2.00   sec   155 MBytes  1.30 Gbits/sec
[  5]   2.00-3.00   sec   155 MBytes  1.30 Gbits/sec
[  5]   3.00-4.00   sec   157 MBytes  1.31 Gbits/sec
[  5]   4.00-5.00   sec   154 MBytes  1.29 Gbits/sec
[  5]   5.00-6.00   sec   156 MBytes  1.31 Gbits/sec
[  5]   6.00-7.00   sec   154 MBytes  1.29 Gbits/sec
[  5]   7.00-8.00   sec   157 MBytes  1.32 Gbits/sec
[  5]   8.00-9.00   sec   157 MBytes  1.32 Gbits/sec
[  5]   9.00-10.00  sec   156 MBytes  1.31 Gbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  1.52 GBytes  1.30 Gbits/sec    0             sender
[  5]   0.00-10.00  sec  1.52 GBytes  1.30 Gbits/sec                  receiver

iperf Done.
3 Likes

Updated the firmware and now I get this

root@QNAP:/tmp# ./setup-netns.sh
Cannot open init namespace: No such file or directory
RTNETLINK answers: Invalid argument
setting the network namespace "wg-bench" failed: Invalid argument
setting the network namespace "wg-bench" failed: Invalid argument
setting the network namespace "wg-bench" failed: Invalid argument
setting the network namespace "wg-bench" failed: Invalid argument
setting the network namespace "wg-bench" failed: Invalid argument
setting the network namespace "wg-bench" failed: Invalid argument
setting the network namespace "wg-bench" failed: Invalid argument


root@QNAP:/tmp# ./benchmark.sh
setting the network namespace "wg-bench" failed: Invalid argument

Run the clean up script then try again?

| x86-86-64 | Intel Celeron CPU J1900 (4 Core 4 Thread, 2.0GHz) | 23.05.3 | 719 Mbits |

ubus call system board
{
        "kernel": "5.15.150",
        "hostname": "OpenWrt",
        "system": "Intel(R) Celeron(R) CPU  J1900  @ 1.99GHz",
        "model": "acrelec ACR-1123",
        "board_name": "acrelec-acr-1123",
        "rootfs_type": "ext4",
        "release": {
                "distribution": "OpenWrt",
                "version": "23.05.3",
                "revision": "r23809-234f1a2efa",
                "target": "x86/64",
                "description": "OpenWrt 23.05.3 r23809-234f1a2efa"
        }
}
./benchmark.sh
Connecting to host 169.254.200.2, port 5201
[  5] local 169.254.200.1 port 36888 connected to 169.254.200.2 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  81.0 MBytes   679 Mbits/sec    0    728 KBytes
[  5]   1.00-2.00   sec  86.1 MBytes   723 Mbits/sec    0    826 KBytes
[  5]   2.00-3.00   sec  86.0 MBytes   721 Mbits/sec    0    870 KBytes
[  5]   3.00-4.00   sec  85.9 MBytes   721 Mbits/sec    0    910 KBytes
[  5]   4.00-5.00   sec  86.6 MBytes   727 Mbits/sec    0    958 KBytes
[  5]   5.00-6.00   sec  86.5 MBytes   726 Mbits/sec    0   1.03 MBytes
[  5]   6.00-7.00   sec  87.0 MBytes   730 Mbits/sec    0   1.09 MBytes
[  5]   7.00-8.00   sec  85.1 MBytes   714 Mbits/sec    0   1.09 MBytes
[  5]   8.00-9.00   sec  87.4 MBytes   733 Mbits/sec    0   1.09 MBytes
[  5]   9.00-10.00  sec  85.0 MBytes   713 Mbits/sec    0   1.09 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec   857 MBytes   719 Mbits/sec    0             sender
[  5]   0.00-10.00  sec   854 MBytes   716 Mbits/sec                  receiver

iperf Done.
./benchmark.sh -R
Reverse mode, remote host 169.254.200.2 is sending
[  5] local 169.254.200.1 port 49208 connected to 169.254.200.2 port 5201
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  76.1 MBytes   638 Mbits/sec
[  5]   1.00-2.00   sec  85.4 MBytes   716 Mbits/sec
[  5]   2.00-3.00   sec  84.0 MBytes   704 Mbits/sec
[  5]   3.00-4.00   sec  83.1 MBytes   698 Mbits/sec
[  5]   4.00-5.00   sec  85.2 MBytes   715 Mbits/sec
[  5]   5.00-6.00   sec  84.5 MBytes   709 Mbits/sec
[  5]   6.00-7.00   sec  84.1 MBytes   706 Mbits/sec
[  5]   7.00-8.00   sec  83.9 MBytes   703 Mbits/sec
[  5]   8.00-9.00   sec  83.6 MBytes   702 Mbits/sec
[  5]   9.00-10.00  sec  83.1 MBytes   696 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec   836 MBytes   701 Mbits/sec    0             sender
[  5]   0.00-10.00  sec   833 MBytes   699 Mbits/sec                  receiver
iperf Done.
1 Like