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.102021.112021.122022.012022.022022.032022.042022.052022.062022.072022.082022.092022.102022.118001600240032004000
* 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 21 November 2022.

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,216 public results since 20 April 2020 with the latest data as of 10 November 2022.

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
10
93 +/- 1
99th
7
100 +/- 2
96th
33
115 +/- 16
94th
12
121 +/- 3
92nd
11
128 +/- 2
90th
19
130 +/- 2
88th
4
140 +/- 7
82nd
7
152 +/- 17
80th
6
160 +/- 1
79th
12
161 +/- 14
76th
18
174 +/- 10
Mid-Tier
75th
> 175
75th
33
175 +/- 7
71st
5
185 +/- 15
66th
17
197 +/- 12
63rd
5
205 +/- 7
62nd
6
212 +/- 9
59th
5
218 +/- 26
59th
6
221 +/- 8
59th
3
221 +/- 7
58th
3
223 +/- 6
58th
4
224 +/- 27
55th
15
234 +/- 30
55th
3
237 +/- 27
54th
13
241 +/- 33
53rd
4
242 +/- 20
52nd
5
253 +/- 15
51st
3
255 +/- 11
51st
6
256 +/- 13
51st
5
257 +/- 20
Median
50th
258
50th
5
260 +/- 38
49th
7
261 +/- 12
48th
6
266 +/- 21
48th
4
266 +/- 1
47th
17
269 +/- 25
45th
5
271 +/- 2
45th
4
271 +/- 13
43rd
19
276 +/- 24
38th
9
293 +/- 10
36th
10
299 +/- 2
36th
9
299 +/- 13
36th
9
300 +/- 24
35th
8
303 +/- 15
35th
5
306 +/- 16
35th
10
306 +/- 24
35th
3
307 +/- 29
35th
9
307 +/- 21
34th
6
308 +/- 25
32nd
9
315 +/- 19
31st
6
320 +/- 28
30th
9
321 +/- 5
30th
4
321 +/- 17
30th
7
322 +/- 22
30th
7
323 +/- 25
28th
7
325 +/- 25
28th
4
325 +/- 15
27th
6
328 +/- 22
26th
4
330 +/- 12
Low-Tier
25th
> 330
25th
13
332 +/- 19
25th
4
332 +/- 21
21st
3
340 +/- 8
21st
29
341 +/- 46
21st
6
350 +/- 16
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
4
519 +/- 14
OpenBenchmarking.orgDistribution Of Public Results1216 Results Range From 90 To 11132 Seconds9031153275397411951416163718582079230025212742296331843405362638474068428945104731495251735394561558366057627864996720694171627383760478258046826784888709893091519372959398141003510256104771069810919111402004006008001000

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: 5 / Avg: 16.43 / Max: 117

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsDeviation48121620Min: 0 / Avg: 0.86 / 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 Scaling246812162432641.01472.02943.04414.05885.0735

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)
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, Ampere eMAG ARMv8 32-Core

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 272 Benchmark Results

2 x Intel Xeon Gold 6240 - Intel 440BX - Intel 440BX

OracleServer 8.6 - 4.18.0-372.32.1.0.1.el8_6.x86_64 - GCC 8.5.0 20210514

1 System - 1 Benchmark Result

AMD Ryzen 5 5600H - AZW SER - AMD Renoir

Ubuntu 22.04 - 5.15.0-52-generic - GNOME Shell 42.5

1 System - 274 Benchmark Results

2 x Intel Xeon Gold 5222 - Cisco UCSB-B200-M5 - Intel Sky Lake-E DMI3 Registers

OracleServer 8.6 - 5.4.17-2136.312.3.4.el8uek.x86_64 - GCC 8.5.0 20210514

1 System - 274 Benchmark Results

1 System - 236 Benchmark Results

4 x Intel Xeon Gold 6240 - Intel 440BX - Intel 440BX

CentOS 7.9.2009 - 3.10.0-1160.76.1.el7.x86_64 - X Server

1 System - 183 Benchmark Results

4 x Intel Xeon Gold 6240 - Intel 440BX - Intel 440BX

CentOS 7.9.2009 - 3.10.0-1160.76.1.el7.x86_64 - X Server

1 System - 1 Benchmark Result

AMD Ryzen 5 PRO 6650U - LENOVO 21D3Z9VFUS - AMD Device 14b5

Fedora Linux 36 - 5.19.11-200.fc36.x86_64 - GNOME Shell 42.5

1 System - 1 Benchmark Result

Intel Xeon E5-2650 v4 - Oracle VirtualBox v1.2 - Intel 440FX 82441FX PMC

Debian 11 - 5.10.0-18-amd64 - X Server 1.20.11

1 System - 100 Benchmark Results

AMD Ryzen 5 7600X 6-Core - ASUS ROG CROSSHAIR X670E HERO - AMD Device 14d8

Ubuntu 22.04 - 6.0.0-060000rc1daily20220820-generic - GNOME Shell 42.2

3 Systems - 357 Benchmark Results

AMD Ryzen 7 7700X 8-Core - ASUS ROG CROSSHAIR X670E HERO - AMD Device 14d8

Ubuntu 22.04 - 6.0.0-060000rc1daily20220820-generic - GNOME Shell 42.2

3 Systems - 357 Benchmark Results

13 Systems - 228 Benchmark Results

AMD Ryzen 9 7950X 16-Core - ASUS ROG CROSSHAIR X670E HERO - AMD Device 14d8

Fedora Linux 36 - 6.0.0-0.rc5.20220914git3245cb65fd91.39.vanilla.1.fc36.x86_64 - GNOME Shell 42.4

4 Systems - 361 Benchmark Results

AMD Ryzen 9 7900X 12-Core - ASUS ROG CROSSHAIR X670E HERO - AMD Device 14d8

Ubuntu 22.04 - 6.0.0-060000rc1daily20220820-generic - GNOME Shell 42.2

13 Systems - 333 Benchmark Results

AMD Ryzen 7 5700G - ASUS ROG CROSSHAIR VIII HERO - AMD Renoir

Ubuntu 22.04 - 6.0.0-060000rc1daily20220820-generic - GNOME Shell 42.2

Most Popular Test Results

Find More Test Results