From 0dc0477df97cbd718c1606d8fa0a3bb13d863951 Mon Sep 17 00:00:00 2001 From: "Quentin McGaw (desktop)" Date: Thu, 16 Sep 2021 11:03:50 -0400 Subject: [PATCH] Rework Wireguard performance section --- FAQ/Wireguard.md | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) diff --git a/FAQ/Wireguard.md b/FAQ/Wireguard.md index 0956410..8849639 100644 --- a/FAQ/Wireguard.md +++ b/FAQ/Wireguard.md @@ -17,27 +17,17 @@ Wireguard is often known as *so much faster* than OpenVPN. Let's find out! docker run -it --rm --network=container:gluetun alpine:3.14 /bin/sh -c "apk add speedtest-cli && speedtest-cli" ``` -- Two machines were tested: - 1. Docker Desktop on WSL2 on a Windows host - - 24 threads cpu (amd 5900x) - - Running on Docker desktop with wsl2 on a windows host - 2. Linux host - - 12 threads cpu (amd 2600x) - - Running on an Arch Linux host with recent kernel - -Here comes the disappointment bomb... - -| Machine | Protocol | Download | Upload | Download diff vs other protocol | -| --- | --- | --- | --- | --- | -| Windows host | OpenVPN | `299.24` | `463.69` | +0.23% | -| Windows host | Wireguard | `298.55` | `493.49` | -0.23% | -| Linux host | OpenVPN | `645.91` | `481.25` | -4% | -| Linux host | Wireguard | `673.37` | `561.28` | +4.2% | +| Host OS | CPU | CPU arch | CPU cores | Protocol | Download Mbps | Upload Mbps | Wireguard download increase | Wireguard upload increase | +| --- | --- | --- | --- | --- | --- | --- | --- | --- | +| Windows with Docker desktop on WSL2 | AMD 5900x | `amd64` | `12` | OpenVPN | `299.24` | `463.69` | | | +| Windows with Docker desktop on WSL2 | AMD 5900x | `amd64` | `12` | Wireguard | `298.55` | `493.49` | -0.23% | +5% | +| Arch Linux | AMD 2600x | `amd64` | `6` | OpenVPN | `645.91` | `481.25` | | | +| Arch Linux | AMD 2600x | `amd64` | `6` | Wireguard | `673.37` | `561.28` | +4.2% | +16.6% | Conclusions: - Docker desktop on Windows sucks network performance wise 😆 -- Wireguard is only up to 4.2% faster than OpenVPN. +- Wireguard is only 4.2% faster than OpenVPN (comparing the 2 maximum bandwidths `645.91` and `673.37`) Further investigations: