WireGuard + Linux Networking Stack Stress Test

This is a benchmark of the WireGuard secure VPN tunnel and Linux networking stack stress test. The test runs on the local host but does require root permissions to run. The way it works is it creates three namespaces. ns0 has a loopback device. ns1 and ns2 each have wireguard devices. Those two wireguard devices send traffic through the loopback device of ns0. The end result of this is that tests wind up testing encryption and decryption at the same time -- a pretty CPU and scheduler-heavy workflow.

To run this test with the Phoronix Test Suite, the basic command is: phoronix-test-suite benchmark system/wireguard.

Project Site

wireguard.com

Test Created

20 April 2020

Last Updated

17 June 2020

Test Maintainer

Jason Donenfeld 

Test Type

Network

Average Install Time

2 Seconds

Average Run Time

3 Minutes, 58 Seconds

Accolades

10k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsWireGuard + Linux Networking Stack Stress Test Popularity Statisticssystem/wireguard2020.042020.062020.082020.102020.122021.022021.042021.062021.082021.102021.122022.022022.042022.062022.082022.102022.122023.022023.042023.062023.082023.102023.122024.022024.0416003200480064008000
* Uploading of benchmark result data to OpenBenchmarking.org is always optional (opt-in) via the Phoronix Test Suite for users wishing to share their results publicly.
** Data based on those opting to upload their test results to OpenBenchmarking.org and users enabling the opt-in anonymous statistics reporting while running benchmarks from an Internet-connected platform.
*** Test profile page view reporting began March 2021.
Data updated weekly as of 13 April 2024.

Revision History

system/wireguard-1.0.1   [View Source]   Wed, 17 Jun 2020 14:31:16 GMT
Allow WireGuard to work as non-root users.

system/wireguard-1.0.0   [View Source]   Mon, 20 Apr 2020 09:46:56 GMT
Initial commit of WireGuard benchmark from Jason Donenfeld.

Suites Using This Test

Common Kernel Benchmarks


Performance Metrics

Analyze Test Configuration:

WireGuard + Linux Networking Stack Stress Test

OpenBenchmarking.org metrics for this test profile configuration based on 1,397 public results since 20 April 2020 with the latest data as of 14 March 2024.

Below is an overview of the generalized performance for components where there is sufficient statistically significant data based upon user-uploaded results. It is important to keep in mind particularly in the Linux/open-source space there can be vastly different OS configurations, with this overview intended to offer just general guidance as to the performance expectations.

Component
Percentile Rank
# Compatible Public Results
Seconds (Average)
99th
12
91 +/- 7
98th
21
94 +/- 1
97th
8
100 +/- 2
94th
34
115 +/- 15
92nd
13
121 +/- 3
90th
4
128 +/- 2
89th
12
129 +/- 2
88th
19
130 +/- 2
84th
4
140 +/- 7
77th
7
152 +/- 17
Mid-Tier
75th
> 154
74th
6
160 +/- 1
73rd
12
161 +/- 14
73rd
11
162 +/- 16
70th
17
174 +/- 10
69th
33
175 +/- 7
64th
4
188 +/- 15
60th
16
198 +/- 11
57th
3
208 +/- 6
55th
5
215 +/- 6
54th
5
218 +/- 26
53rd
6
221 +/- 8
53rd
3
223 +/- 6
53rd
4
224 +/- 27
Median
50th
231
50th
15
234 +/- 30
50th
9
234 +/- 33
49th
3
237 +/- 27
48th
4
242 +/- 20
47th
13
246 +/- 4
47th
17
250 +/- 19
46th
5
253 +/- 15
46th
3
255 +/- 11
44th
5
260 +/- 38
43rd
5
261 +/- 2
42nd
6
266 +/- 21
42nd
4
266 +/- 1
42nd
5
267 +/- 5
41st
26
269 +/- 5
40th
20
270 +/- 23
39th
5
271 +/- 2
39th
4
271 +/- 13
37th
19
276 +/- 24
33rd
8
296 +/- 1
32nd
10
299 +/- 2
32nd
9
300 +/- 24
31st
5
303 +/- 6
31st
7
304 +/- 10
29th
6
310 +/- 7
29th
4
313 +/- 5
28th
7
315 +/- 19
28th
5
317 +/- 14
28th
7
318 +/- 18
27th
7
322 +/- 13
27th
7
322 +/- 4
Low-Tier
25th
> 323
25th
3
325 +/- 19
22nd
6
330 +/- 12
22nd
5
330 +/- 16
22nd
6
331 +/- 14
22nd
4
332 +/- 21
22nd
6
333 +/- 15
21st
12
336 +/- 12
19th
3
340 +/- 8
18th
28
350 +/- 31
18th
6
350 +/- 16
14th
3
368 +/- 2
13th
3
381 +/- 4
12th
4
397 +/- 16
9th
7
442 +/- 9
9th
4
444 +/- 18
9th
3
448 +/- 27
8th
3
468 +/- 18
7th
4
519 +/- 14
1st
3
3928 +/- 434
OpenBenchmarking.orgDistribution Of Public Results1397 Results Range From 85 To 42071 Seconds85925176526053445428551255965680576458485932510165110051184512685135251436515205160451688517725185651940520245210852192522765236052444525285261252696527805286452948530325311653200532845336853452535365362053704537885387253956540405412454208530060090012001500

Based on OpenBenchmarking.org data, the selected test / test configuration (WireGuard + Linux Networking Stack Stress Test) has an average run-time of 18 minutes. By default this test profile is set to run at least 3 times but may increase if the standard deviation exceeds pre-defined defaults or other calculations deem additional runs necessary for greater statistical accuracy of the result.

OpenBenchmarking.orgMinutesTime Required To Complete BenchmarkRun-Time306090120150Min: 4 / Avg: 17.9 / Max: 187

Based on public OpenBenchmarking.org results, the selected test / test configuration has an average standard deviation of 1%.

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsDeviation48121620Min: 0 / Avg: 0.97 / Max: 16

Does It Scale Well With Increasing Cores?

No, based on the automated analysis of the collected public benchmark data, this test / test settings does not generally scale well with increasing CPU core counts. Data based on publicly available results for this test / test settings, separated by vendor, result divided by the reference CPU clock speed, grouped by matching physical CPU core count, and normalized against the smallest core count tested from each vendor for each CPU having a sufficient number of test samples and statistically significant data.

AMDIntelOpenBenchmarking.orgRelative Core Scaling To BaseWireGuard + Linux Networking Stack Stress Test CPU Core Scaling2468101214162432640.71461.42922.14382.85843.573

Tested CPU Architectures

This benchmark has been successfully tested on the below mentioned architectures. The CPU architectures listed is where successful OpenBenchmarking.org result uploads occurred, namely for helping to determine if a given test is compatible with various alternative CPU architectures.

CPU Architecture
Kernel Identifier
Verified On
Intel / AMD x86 64-bit
x86_64
(Many Processors)
IBM POWER (PowerPC) 64-bit
ppc64le
POWER9 22-Core
ARMv7 32-bit
armv7l
ARMv7 Cortex-A53 4-Core, ARMv7 Cortex-A7 4-Core
ARMv8 64-bit
aarch64
ARMv8 Cortex-A53 4-Core, ARMv8 Cortex-A53 8-Core, ARMv8 Cortex-A72 4-Core, ARMv8 Cortex-A72 6-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 64-Core, Ampere eMAG ARMv8 32-Core, Apple M2, Rockchip ARMv8 Cortex-A76 6-Core

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 1 Benchmark Result

Intel Core i5-7400 - Dell Vostro 3268 0Y2YM6 - Intel Xeon E3-1200 v6

Debian 11 - 5.10.0-23-amd64 - GNOME Shell 3.38.6

1 System - 1 Benchmark Result

AMD Ryzen 7 5800X3D 8-Core - ASRock X570S PG Riptide - AMD Starship

ManjaroLinux 23.1.3 - 6.6.16-2-MANJARO - KDE Plasma 5.27.10

5 Systems - 587 Benchmark Results

AMD Ryzen 5 8600G - ASRock B650 Pro RS - AMD Device 14e8

Ubuntu 23.10 - 6.7.3-060703-generic - GNOME Shell 45.2

1 System - 370 Benchmark Results

4 x Intel Xeon Gold 6240 - Intel 440BX - Intel 440BX

Oracle Linux Server 9.3 - 5.14.0-362.13.1.el9_3.x86_64 - GCC 11.4.1 20230605

1 System - 280 Benchmark Results

4 x Intel Xeon Gold 6240 - Intel 440BX - Intel 440BX

Oracle Linux Server 9.3 - 5.14.0-362.13.1.el9_3.x86_64 - GCC 11.4.1 20230605

1 System - 370 Benchmark Results

4 x Intel Xeon Gold 6240 - Intel 440BX - Intel 440BX

OracleServer 8.9 - 4.18.0-513.11.0.1.el8_9.x86_64 - GCC 10.3.1 20210422

1 System - 370 Benchmark Results

2 x Intel Xeon Gold 5118 - Cisco UCSB-B200-M5 - Intel Sky Lake-E DMI3 Registers

Oracle Linux Server 9.3 - 5.15.0-202.135.2.el9uek.x86_64 - GCC 11.4.1 20230605

1 System - 205 Benchmark Results

2 x Intel Xeon E5-2620 0 - ASUS Z9PE-D16 - Intel Xeon E5

Ubuntu 22.04 - 5.15.0-92-generic - X Server 1.20.11

1 System - 342 Benchmark Results

4 x Intel Xeon Gold 6240 - Intel 440BX - Intel 440BX

CentOS 7.9.2009 - 3.10.0-1160.105.1.el7.x86_64 - X Server

1 System - 153 Benchmark Results

2 x Intel Xeon Gold 5222 - Cisco UCSB-B200-M5 - Intel Sky Lake-E DMI3 Registers

OracleServer 8.9 - 5.15.0-202.135.2.el8uek.x86_64 - GCC 10.3.1 20210422

1 System - 370 Benchmark Results

4 x Intel Xeon Gold 6240 - Intel 440BX - Intel 440BX

Oracle Linux Server 9.3 - 5.14.0-362.8.1.el9_3.x86_64 - GCC 11.4.1 20230605

1 System - 370 Benchmark Results

4 x Intel Xeon Gold 6240 - Intel 440BX - Intel 440BX

Oracle Linux Server 9.2 - 5.14.0-284.25.1.0.1.el9_2.x86_64 - GCC 11.3.1 20221121

2 Systems - 88 Benchmark Results

Intel Core Ultra 7 155H - MTL Coral_MTH - Intel Device 7e7f

Ubuntu 23.10 - 6.7.0-060700rc6daily20231222-generic - GNOME Shell 45.1

1 System - 354 Benchmark Results

4 x Intel Xeon Gold 6240 - Intel 440BX - Intel 440BX

OracleServer 8.9 - 4.18.0-513.5.1.el8_9.x86_64 - GCC 10.3.1 20210422

1 System - 862 Benchmark Results

Most Popular Test Results

Find More Test Results