cyyself / wg-bench

WireGuard Benchmark using netns and iperf3
47 stars 24 forks source link

intel NUC11 Atlas n5105 #27

Closed qaqland closed 2 months ago

qaqland commented 2 months ago
$ doas ./benchmark.sh
Connecting to host 169.254.200.2, port 5201
[  5] local 169.254.200.1 port 50934 connected to 169.254.200.2 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec   415 MBytes  3.47 Gbits/sec   41   1.43 MBytes
[  5]   1.00-2.00   sec   404 MBytes  3.39 Gbits/sec    0   1.57 MBytes
[  5]   2.00-3.00   sec   410 MBytes  3.44 Gbits/sec    0   1.70 MBytes
[  5]   3.00-4.00   sec   403 MBytes  3.37 Gbits/sec   52   1.28 MBytes
[  5]   4.00-5.00   sec   410 MBytes  3.44 Gbits/sec    0   1.44 MBytes
[  5]   5.00-6.00   sec   417 MBytes  3.50 Gbits/sec   15   1.21 MBytes
[  5]   6.00-7.00   sec   412 MBytes  3.45 Gbits/sec    0   1.38 MBytes
[  5]   7.00-8.00   sec   408 MBytes  3.42 Gbits/sec   10   1.07 MBytes
[  5]   8.00-9.00   sec   410 MBytes  3.45 Gbits/sec    0   1.26 MBytes
[  5]   9.00-10.00  sec   410 MBytes  3.45 Gbits/sec    0   1.43 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  4.00 GBytes  3.44 Gbits/sec  118             sender
[  5]   0.00-10.00  sec  4.00 GBytes  3.44 Gbits/sec                  receiver

iperf Done.
$ doas ./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 36528 connected to 169.254.200.2 port 5201
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec   401 MBytes  3.36 Gbits/sec
[  5]   1.00-2.00   sec   414 MBytes  3.47 Gbits/sec
[  5]   2.00-3.00   sec   410 MBytes  3.45 Gbits/sec
[  5]   3.00-4.00   sec   411 MBytes  3.45 Gbits/sec
[  5]   4.00-5.00   sec   409 MBytes  3.43 Gbits/sec
[  5]   5.00-6.00   sec   408 MBytes  3.42 Gbits/sec
[  5]   6.00-7.00   sec   404 MBytes  3.40 Gbits/sec
[  5]   7.00-8.00   sec   409 MBytes  3.43 Gbits/sec
[  5]   8.00-9.00   sec   407 MBytes  3.42 Gbits/sec
[  5]   9.00-10.00  sec   408 MBytes  3.43 Gbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  3.99 GBytes  3.43 Gbits/sec  325             sender
[  5]   0.00-10.00  sec  3.99 GBytes  3.43 Gbits/sec                  receiver

iperf Done.
$ uname -a
Linux lab 6.6.28-0-lts #1-Alpine SMP PREEMPT_DYNAMIC Thu, 18 Apr 2024 10:17:08 +0000 x86_64 Linux
$ cat /etc/os-release
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.19.1
PRETTY_NAME="Alpine Linux v3.19"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://gitlab.alpinelinux.org/alpine/aports/-/issues"
$ wg --version
wireguard-tools v1.0.20210914 - https://git.zx2c4.com/wireguard-tools/
cyyself commented 2 months ago

Thanks for sharing this result.