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 23 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 939 public results since 20 April 2020 with the latest data as of 23 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
83rd
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
60th
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
274
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
39th
6
308 +/- 25
36th
9
315 +/- 19
35th
6
320 +/- 28
34th
4
321 +/- 17
34th
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 Results939 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.92 / 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.00912.01823.02734.03645.0455

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 1 Benchmark Result

Intel Core i7-7700K - ASUS B150M-A D3 - Intel Xeon E3-1200 v6

Debian unstable - 5.14.0-12.1-liquorix-amd64 - KDE Plasma 5.23.0

1 System - 290 Benchmark Results

AMD Ryzen 9 5900X 12-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

Ubuntu 21.10 - 5.13.0-20-generic - GNOME Shell 40.5

4 Systems - 141 Benchmark Results

2 x AMD EPYC 75F3 32-Core - ASRockRack ROME2D16-2T - AMD Starship

Clear Linux OS 35150 - 5.14.13-1083.native - GNOME Shell 41.0

3 Systems - 141 Benchmark Results

2 x AMD EPYC 75F3 32-Core - ASRockRack ROME2D16-2T - AMD Starship

Ubuntu 21.10 - 5.13.0-20-generic - GNOME Shell 40.5

2 Systems - 140 Benchmark Results

2 x AMD EPYC 75F3 32-Core - ASRockRack ROME2D16-2T - AMD Starship

Ubuntu 21.10 - 5.13.0-20-generic - GNOME Shell 40.5

1 System - 135 Benchmark Results

2 x AMD EPYC 75F3 32-Core - ASRockRack ROME2D16-2T - AMD Starship

Ubuntu 21.10 - 5.13.0-20-generic - GNOME Shell 40.5

2 Systems - 160 Benchmark Results

Intel Core i9-10980XE - ASRock X299 Steel Legend - Intel Sky Lake-E DMI3 Registers

Clear Linux OS 35150 - 5.14.13-1083.native - GNOME Shell 41.0

1 System - 45 Benchmark Results

2 x AMD EPYC 75F3 32-Core - ASRockRack ROME2D16-2T - AMD Starship

Ubuntu 21.10 - 5.13.0-20-generic - GNOME Shell 40.5

1 System - 259 Benchmark Results

AMD Ryzen 9 5950X 16-Core - ASUS PRIME B550M-A - AMD Starship

Fedora 34 - 5.14.6-xm1.0.fc34.x86_64 - KDE Plasma 5.22.4

1 System - 1 Benchmark Result

Westmere E56xx/L56xx/X56xx - QEMU Standard PC - 1 x 2048 MB RAM QEMU

Debian 10 - 4.19.0-17-cloud-amd64 - GCC 8.3.0

8 Systems - 170 Benchmark Results

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

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

2 Systems - 115 Benchmark Results

AMD Ryzen 9 5950X 16-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

Ubuntu 21.10 - 5.13.0-14-generic - GNOME Shell 40.2

1 System - 138 Benchmark Results

AMD Ryzen 9 5950X 16-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

Ubuntu 21.04 - 5.11.0-31-generic - GNOME Shell 3.38.4

1 System - 216 Benchmark Results

AMD Ryzen 9 5950X 16-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

Ubuntu 21.04 - 5.11.0-25-generic - GNOME Shell 3.38.4

1 System - 83 Benchmark Results

AMD Ryzen 9 5950X 16-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

Ubuntu 21.04 - 5.11.0-25-generic - GNOME Shell 3.38.4

Most Popular Test Results

Find More Test Results