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

1 Second

Average Run Time

27 Minutes, 55 Seconds

Accolades

5k+ 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.052020.062020.072020.082020.092020.102020.112020.122021.012021.022021.032021.042021.052021.062021.072021.082021.092021.1030060090012001500
* 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 current as of 18 October 2021.

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 938 public results since 20 April 2020 with the latest data as of 21 October 2021.

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)
100th
7
120 +/- 11
97th
16
130 +/- 2
95th
4
140 +/- 7
93rd
4
147 +/- 12
89th
6
160 +/- 1
88th
12
161 +/- 14
87th
4
164 +/- 17
85th
17
173 +/- 10
85th
30
174 +/- 7
84th
3
175 +/- 3
Mid-Tier
75th
> 193
72nd
17
197 +/- 12
71st
3
201 +/- 3
69th
5
210 +/- 8
67th
3
216 +/- 26
65th
6
221 +/- 8
65th
6
223 +/- 4
65th
3
223 +/- 6
62nd
15
234 +/- 30
62nd
3
237 +/- 27
61st
4
242 +/- 20
59th
3
255 +/- 11
58th
6
256 +/- 13
58th
5
258 +/- 9
57th
7
261 +/- 12
56th
3
264 +/- 2
55th
4
266 +/- 1
53rd
17
269 +/- 25
52nd
5
271 +/- 2
52nd
4
271 +/- 13
Median
50th
275
50th
19
276 +/- 24
44th
9
293 +/- 10
42nd
10
299 +/- 2
42nd
9
299 +/- 13
41st
8
303 +/- 15
41st
8
304 +/- 23
40th
10
306 +/- 24
40th
5
306 +/- 16
40th
3
307 +/- 29
40th
9
307 +/- 21
40th
6
308 +/- 25
36th
9
315 +/- 19
35th
6
320 +/- 28
35th
4
321 +/- 17
35th
9
321 +/- 5
34th
7
322 +/- 22
34th
3
322 +/- 10
34th
7
323 +/- 25
32nd
4
325 +/- 15
32nd
7
325 +/- 25
30th
6
328 +/- 22
29th
4
330 +/- 12
28th
13
332 +/- 19
Low-Tier
25th
> 337
24th
3
340 +/- 8
24th
3
340 +/- 17
23rd
28
349 +/- 35
18th
3
368 +/- 2
16th
3
381 +/- 4
15th
4
397 +/- 16
10th
7
442 +/- 9
10th
4
444 +/- 18
10th
3
448 +/- 27
9th
3
468 +/- 18
8th
3
520 +/- 17
OpenBenchmarking.orgDistribution Of Public Results933 Results Range From 97 To 11132 Seconds973185397609811202142316441865208623072528274929703191341236333854407542964517473849595180540156225843606462856506672769487169739076117832805382748495871689379158937996009821100421026310484107051092611147130260390520650

Based on OpenBenchmarking.org data, the selected test / test configuration (WireGuard + Linux Networking Stack Stress Test) has an average run-time of 17 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-Time20406080100Min: 1 / Avg: 16.91 / Max: 127

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsDeviation48121620Min: 0 / Avg: 0.81 / Max: 15

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 Scaling246812162432641.042.083.124.165.2