mirror of
https://github.com/qdm12/gluetun.git
synced 2026-08-14 00:03:01 +02:00
Rework Wireguard performance section
+7
-17
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user