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.102024.122K4K6K8K10K
* 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 23 December 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,452 public results since 20 April 2020 with the latest data as of 22 December 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
81st
9
145 +/- 20
Mid-Tier
75th
> 156
74th
6
160 +/- 1
74th
12
161 +/- 14
72nd
13
167 +/- 20
70th
17
174 +/- 10
69th
33
175 +/- 7
64th
4
188 +/- 15
62nd
5
194 +/- 3
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
44th
5
261 +/- 2
42nd
4
266 +/- 1
42nd
6
266 +/- 21
42nd
5
267 +/- 5
41st
26
269 +/- 5
40th
20
270 +/- 23
40th
4
271 +/- 13
40th
5
271 +/- 2
37th
19
276 +/- 24
33rd
8
296 +/- 1
32nd
10
299 +/- 2
32nd
9
300 +/- 24
31st
5
303 +/- 6
31st
7
304 +/- 10
30th
6
310 +/- 7
29th
4
313 +/- 5
29th
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
13th
4
397 +/- 16
10th
7
442 +/- 9
10th
4
444 +/- 18
10th
3
448 +/- 27
9th
3
468 +/- 18
8th
4
519 +/- 14
8th
6
538 +/- 18
1st
3
3928 +/- 434
Detailed Performance Overview
OpenBenchmarking.orgDistribution Of Public Results1446 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-Time306090120150Min: 4 / Avg: 18.01 / 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.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 - 131 Benchmark Results

Intel Core i7-12700H - LENOVO LNVNB161216 - Intel Alder Lake PCH

openSUSE Tumbleweed 20241204 - 6.11.8-1-default - KDE Plasma 6.2.4

7 Systems - 456 Benchmark Results

AMD EPYC 7713P 64-Core - Supermicro AS-1114S-WN10RT H12SSW-NTR v1.02 - AMD Starship

Debian GNU - 6.1.0-27-amd64 - GCC 12.2.0 + Clang 14.0.6

12 Systems - 67 Benchmark Results

2 x AMD Opteron 4256 EE - ASUS KCMA-D8 v1.0 - AMD RD890 + SB7x0

Debian 13 - 6.11.5-amd64 - X Server

11 Systems - 67 Benchmark Results

2 x AMD Opteron 4256 EE - ASUS KCMA-D8 v1.0 - AMD RD890 + SB7x0

Debian 13 - 6.11.5-amd64 - X Server

10 Systems - 67 Benchmark Results

Intel Core i7-4790K - Dell OptiPlex 7020/9020 SFF [OptiPlex v1.0] - Intel 4th Gen Core DRAM

Debian - 6.11.4-amd64 - GNOME Shell 47.0

9 Systems - 67 Benchmark Results

2 x AMD Opteron 4256 EE - ASUS KCMA-D8 v1.0 - AMD RD890 + SB7x0

Debian 13 - 6.11.5-amd64 - X Server

7 Systems - 67 Benchmark Results

2 x AMD Opteron 6276 - ASUS KGPE-D16 v1.0 - AMD RD890 + SB7x0

Debian 13 - 6.11.5-amd64 - X Server

6 Systems - 67 Benchmark Results

2 x AMD Opteron 6380 - ASUS KGPE-D16 v1.0 - AMD RD890 + SB7x0

Debian 13 - 6.11.5-amd64 - X Server

6 Systems - 67 Benchmark Results

2 x AMD Opteron 6380 - ASUS KGPE-D16 v1.0 - AMD RD890 + SB7x0

Debian 13 - 6.11.5-amd64 - X Server

4 Systems - 69 Benchmark Results

Intel Core i7-4790K - Dell OptiPlex 7020/9020 SFF [OptiPlex v1.0] - Intel 4th Gen Core DRAM

Debian - 6.11.4-amd64 - GNOME Shell 47.0

3 Systems - 69 Benchmark Results

Intel Core i7-4790K - Dell OptiPlex 7020/9020 SFF [OptiPlex v1.0] - Intel 4th Gen Core DRAM

Debian - 6.11.4-amd64 - GNOME Shell 47.0

2 Systems - 69 Benchmark Results

Intel Core i7-4790K - Dell OptiPlex 7020/9020 SFF [OptiPlex v1.0] - Intel 4th Gen Core DRAM

Debian - 6.11.4-amd64 - GNOME Shell 47.0

3 Systems - 69 Benchmark Results

Intel Core i7-4790K - Dell OptiPlex 7020/9020 SFF [OptiPlex v1.0] - Intel 4th Gen Core DRAM

Debian - 6.11.4-amd64 - GNOME Shell 47.0

3 Systems - 69 Benchmark Results

Intel Core i7-4790K - Dell OptiPlex 7020/9020 SFF [OptiPlex v1.0] - Intel 4th Gen Core DRAM

Debian - 6.11.4-amd64 - GNOME Shell 47.0

3 Systems - 69 Benchmark Results

Intel Core i7-4790K - Dell OptiPlex 7020/9020 SFF [OptiPlex v1.0] - Intel 4th Gen Core DRAM

Debian - 6.11.4-amd64 - GNOME Shell 47.0

Most Popular Test Results

Find More Test Results