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 UploadsReported Installs*Test Completions*OpenBenchmarking.orgEventsWireGuard + Linux Networking Stack Stress Test Popularity Statisticssystem/wireguard2020.042020.052020.062020.072020.082020.092020.102020.112020.122021.012021.022021.032021.042021.052004006008001000
* 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.
Data current as of Thu, 06 May 2021 02:07:34 GMT.

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 860 public results since 20 April 2020 with the latest data as of 26 April 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
# Matching Public Results
Seconds (Average)
97th
14
130 +/- 1
96th
4
140 +/- 7
94th
4
147 +/- 12
90th
6
160 +/- 1
89th
12
161 +/- 14
89th
4
164 +/- 17
86th
7
173 +/- 11
86th
16
173 +/- 10
86th
30
174 +/- 7
84th
3
175 +/- 3
Mid-Tier
75th
> 194
74th
16
196 +/- 12
72nd
3
201 +/- 3
69th
5
210 +/- 8
68th
3
216 +/- 26
67th
5
218 +/- 2
65th
3
223 +/- 6
62nd
3
237 +/- 27
62nd
13
240 +/- 27
61st
4
242 +/- 20
59th
3
255 +/- 11
59th
6
256 +/- 13
57th
7
261 +/- 12
56th
4
266 +/- 1
53rd
16
271 +/- 13
53rd
13
271 +/- 29
53rd
4
271 +/- 13
53rd
5
271 +/- 2
Median
50th
277
46th
9
293 +/- 10
43rd
10
299 +/- 2
43rd
9
299 +/- 13
42nd
8
303 +/- 15
41st
5
306 +/- 16
41st
10
306 +/- 24
41st
9
307 +/- 21
41st
3
307 +/- 29
40th
6
308 +/- 25
38th
6
314 +/- 18
37th
9
315 +/- 19
35th
6
320 +/- 28
35th
9
321 +/- 5
35th
4
321 +/- 17
35th
3
322 +/- 10
35th
7
322 +/- 22
34th
7
323 +/- 25
32nd
7
325 +/- 25
32nd
4
325 +/- 15
30th
6
328 +/- 22
29th
4
330 +/- 12
28th
13
332 +/- 19
Low-Tier
25th
> 337
23rd
3
340 +/- 17
23rd
3
340 +/- 8
22nd
28
349 +/- 35
17th
3
368 +/- 2
15th
3
381 +/- 4
14th
4
397 +/- 16
9th
7
442 +/- 9
9th
4
444 +/- 18
9th
3
448 +/- 27
8th
3
468 +/- 18
7th
3
520 +/- 17
OpenBenchmarking.orgDistribution Of Public Results860 Results Range From 108 To 11132 Seconds1083295507719921213143416551876209723182539276029813202342336443865408643074528474949705191541256335854607562966517673869597180740176227843806482858506872789489169939096119832100531027410495107161093711158130260390520650

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.29 / Max: 127

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsDeviation48121620Min: 0 / Avg: 0.73 / 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 Scaling246812162432640.73331.46662.19992.93323.6665

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 1 Benchmark Result

AMD Ryzen 7 PRO 4750G - ASUS ROG STRIX B550-I GAMING - AMD Renoir Root Complex

Ubuntu 20.04 - 5.8.0-50-generic - GNOME Shell 3.36.7

1 System - 115 Benchmark Results

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

Ubuntu 20.04 - 5.12.0-051200rc8daily20210425-generic - GNOME Shell 3.36.7

1 System - 1 Benchmark Result

Intel Core i5-8600K - ASRock Z370M Pro4 - Intel 8th Gen Core

Pop 20.10 - 5.11.0-7614-generic - GNOME Shell 3.38.3

1 System - 71 Benchmark Results

Intel Pentium G3220 - ASUS H81M-K - Intel 4th Gen Core DRAM

Arch Linux - 5.10.29-1-bcachefs-git-307472-g6a3927a96b2f - Openbox 3.6.1

3 Systems - 176 Benchmark Results

Intel Core i9-11900K - ASUS ROG MAXIMUS XIII HERO - Intel Device 43ef

Ubuntu 20.10 - 5.12.0-rc7-dyn-preempt - GNOME Shell 3.38.1

10 Systems - 454 Benchmark Results

Intel Core i5-11600K - ASUS ROG MAXIMUS XIII HERO - Intel Device 43ef

Ubuntu 21.04 - 5.12.0-051200rc3daily20210315-generic - GNOME Shell 3.38.3

1 System - 136 Benchmark Results

AMD EPYC 7763 64-Core - Supermicro H12SSL-i v1.01 - AMD Starship

Ubuntu 20.04 - 5.4.0-72-generic - GNOME Shell 3.36.7

1 System - 1 Benchmark Result

6 x Intel Xeon E5-2650 v4 - Red Hat RHEL-AV - Intel 82G33

Debian 10 - 4.19.0-14-amd64 - GCC 8.3.0

1 System - 1 Benchmark Result

2 x AMD EPYC 7281 16-Core - Scaleway SCW-DEV1-S - Intel 440FX 82441FX PMC

Ubuntu 18.04 - 4.15.0-140-generic - GCC 7.5.0

12 Systems - 453 Benchmark Results

Intel Core i5-11600K - ASUS ROG MAXIMUS XIII HERO - Intel Device 43ef

Ubuntu 21.04 - 5.12.0-051200rc3daily20210315-generic - GNOME Shell 3.38.3

9 Systems - 442 Benchmark Results

AMD Ryzen 5 5600X 6-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

Ubuntu 21.04 - 5.12.0-051200rc3daily20210315-generic - GNOME Shell 3.38.3

1 System - 323 Benchmark Results

Intel Core i9-11900K - ASUS ROG MAXIMUS XIII HERO - Intel Tiger Lake-H

Ubuntu 21.04 - 5.12.0-051200rc3daily20210315-generic - GNOME Shell 3.38.3

Most Popular Test Results

Find More Test Results