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.042024.062024.082024.102K4K6K8K10K
* 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 31 October 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,419 public results since 20 April 2020 with the latest data as of 26 September 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)
98th
21
94 +/- 1
98th
14
95 +/- 12
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
> 155
74th
6
160 +/- 1
73rd
12
161 +/- 14
72nd
13
167 +/- 20
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
9
234 +/- 33
50th
15
234 +/- 30
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
Low-Tier
25th
> 324
25th
3
325 +/- 19
23rd
6
330 +/- 12
23rd
5
330 +/- 16
22nd
6
331 +/- 14
22nd
6
333 +/- 15
21st
8
335 +/- 36
21st
12
336 +/- 12
19th
3
340 +/- 8
18th
6
350 +/- 16
18th
28
350 +/- 31
15th
3
368 +/- 2
14th
3
381 +/- 4
12th
4
397 +/- 16
10th
7
442 +/- 9
10th
4
444 +/- 18
9th
3
448 +/- 27
9th
3
468 +/- 18
8th
4
519 +/- 14
8th
6
538 +/- 18
1st
3
3928 +/- 434
OpenBenchmarking.orgDistribution Of Public Results1419 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 19 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-Time4080120160200Min: 4 / Avg: 18.11 / Max: 221

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.99 / 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, ARMv8 Neoverse-N1 80-Core, Ampere eMAG ARMv8 32-Core, Apple M2, Rockchip ARMv8 Cortex-A76 6-Core

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 347 Benchmark Results

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

OracleServer 8.10 - 4.18.0-553.22.1.el8_10.x86_64 - GCC 10.3.1 20210422

1 System - 347 Benchmark Results

1 System - 352 Benchmark Results

8 x Intel Xeon Gold 5118 - Intel 440BX - Intel 440BX

Oracle Linux Server 9.4 - 5.14.0-427.37.1.el9_4.x86_64 - GCC 11.4.1 20231218

1 System - 352 Benchmark Results

1 System - 363 Benchmark Results

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

OracleServer 8.10 - 5.15.0-208.159.3.2.el8uek.x86_64 - GCC 10.3.1 20210422

1 System - 177 Benchmark Results

Intel Pentium D1508 - Kontron VM6062 - Intel Xeon E7 v4

Ubuntu 22.04 - 5.15.0-122-generic - 1.3.255

1 System - 356 Benchmark Results

1 System - 356 Benchmark Results

ARMv8 Neoverse-N1 - GIGABYTE MP32-AR0-00 v00030003 - Ampere Computing LLC Altra PCI Root Complex A

Ubuntu 22.04 - 5.15.0-119-generic - 1.3.255

1 System - 62 Benchmark Results

6 x Intel Xeon E5-2640 0 - Intel VMware Virtual 440BX Desktop - Intel 440BX

Debian 12 - 6.1.0-23-amd64 - GCC 12.2.0

2 Systems - 1 Benchmark Result

Intel Core i5-1135G7 - (5.19 BIOS) - Intel Tiger Lake-LP

Debian GNU - 5.19.17-2-pve - 1.0.2

1 System - 347 Benchmark Results

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

OracleServer 8.10 - 4.18.0-553.8.1.el8_10.x86_64 - GCC 10.3.1 20210422

1 System - 1 Benchmark Result

AMD EPYC 7232P 8-Core - Supermicro Super Server H12SSL-i v1.02 - AMD Starship

Arch Linux - 6.8.2-arch2-1 - GCC 13.2.1 20230801

1 System - 354 Benchmark Results

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

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

1 System - 383 Benchmark Results

8 x Intel Xeon Gold 5118 - Intel 440BX - Intel 440BX

Oracle Linux Server 9.4 - 5.14.0-427.22.1.el9_4.x86_64 - GCC 11.4.1 20231218

1 System - 367 Benchmark Results

8 x Intel Xeon Gold 5118 - Intel 440BX - Intel 440BX

Oracle Linux Server 9.4 - 5.14.0-427.20.1.el9_4.x86_64 - GCC 11.4.1 20231218

Most Popular Test Results

Find More Test Results