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.072004006008001000
* 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 26 July 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 910 public results since 20 April 2020 with the latest data as of 26 July 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)
97th
15
130 +/- 1
96th
4
140 +/- 7
94th
4
147 +/- 12
90th
6
160 +/- 1
89th
12
161 +/- 14
89th
4
164 +/- 17
87th
16
173 +/- 10
86th
30
174 +/- 7
85th
3
175 +/- 3
Mid-Tier
75th
> 195
74th
16
196 +/- 12
72nd
3
201 +/- 3
70th
5
210 +/- 8
69th
3
216 +/- 26
66th
6
221 +/- 8
66th
6
223 +/- 4
66th
3
223 +/- 6
63rd
3
237 +/- 27
62nd
13
240 +/- 27
62nd
4
242 +/- 20
60th
3
255 +/- 11
59th
6
256 +/- 13
59th
5
258 +/- 9
58th
7
261 +/- 12
57th
3
264 +/- 2
56th
4
266 +/- 1
54th
17
269 +/- 25
53rd
4
271 +/- 13
53rd
5
271 +/- 2
51st
19
276 +/- 24
Median
50th
277
45th
9
293 +/- 10
43rd
10
299 +/- 2
43rd
9
299 +/- 13
41st
8
303 +/- 15
41st
8
304 +/- 23
41st
5
306 +/- 16
41st
10
306 +/- 24
41st
9
307 +/- 21
41st
3
307 +/- 29
40th
6
308 +/- 25
37th
9
315 +/- 19
35th
6
320 +/- 28
35th
9
321 +/- 5
35th
4
321 +/- 17
35th
7
322 +/- 22
35th
3
322 +/- 10
34th
7
323 +/- 25
33rd
4
325 +/- 15
33rd
7
325 +/- 25
31st
6
328 +/- 22
29th
4
330 +/- 12
28th
13
332 +/- 19
Low-Tier
25th
> 337
24th
3
340 +/- 17
24th
3
340 +/- 8
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 Results909 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 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-Time20406080100Min: 1 / Avg: 17.04 / 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

Recent Test Results

OpenBenchmarking.org Results Compare

4 Systems - 78 Benchmark Results

AMD Ryzen 9 5900HX - ASUS G513QY v1.0 - AMD Renoir Root Complex

Arch Linux - 5.13.4-arch1-1 - GNOME Shell 40.3

3 Systems - 78 Benchmark Results

AMD Ryzen 9 5900HX - ASUS G513QY v1.0 - AMD Renoir Root Complex

Arch Linux - 5.13.4-arch1-1 - GNOME Shell 40.3

2 Systems - 75 Benchmark Results

AMD Ryzen 9 5900HX - ASUS G513QY v1.0 - AMD Renoir Root Complex

Arch Linux - 5.13.4-arch1-1 - GNOME Shell 40.3

1 System - 1 Benchmark Result

AMD Ryzen 5 4500U - ASUS PN50 v0409 - AMD Renoir Root Complex

Ubuntu 20.10 - 5.8.0-50-generic - GNOME Shell 3.38.3

6 Systems - 180 Benchmark Results

Intel Core i7-8565U - Dell 0KTW76 - Intel Cannon Point-LP

Ubuntu 21.04 - 5.13.0-051300-generic - GNOME Shell 3.38.4

5 Systems - 189 Benchmark Results

Intel Core i7-8565U - Dell 0KTW76 - Intel Cannon Point-LP

Ubuntu 21.04 - 5.13.0-051300-generic - GNOME Shell 3.38.4

4 Systems - 189 Benchmark Results

AMD Ryzen 5 5500U - LENOVO LNVNB161216 - AMD Renoir Root Complex

Ubuntu 21.04 - 5.13.0-051300-generic - GNOME Shell 3.38.4

2 Systems - 1 Benchmark Result

ARMv8 Cortex-A72 - BCM2835 Raspberry Pi 4 Model B Rev 1.4 - Broadcom BCM2711

Ubuntu 21.04 - 5.11.0-1010-raspi - GNOME Shell 3.38.4

3 Systems - 189 Benchmark Results

AMD Ryzen 5 5500U - LENOVO LNVNB161216 - AMD Renoir Root Complex

Ubuntu 21.04 - 5.13.0-051300-generic - GNOME Shell 3.38.4

2 Systems - 189 Benchmark Results

Intel Core i7-1165G7 - Dell 0GG9PT - Intel Tiger Lake-LP

Ubuntu 21.04 - 5.13.0-051300-generic - GNOME Shell 3.38.4

1 System - 189 Benchmark Results

Intel Core i7-1165G7 - Dell 0GG9PT - Intel Tiger Lake-LP

Ubuntu 21.04 - 5.13.0-051300-generic - GNOME Shell 3.38.4

1 System - 1 Benchmark Result

Most Popular Test Results

Find More Test Results