olespete
Member
OP
Trust No One
- Joined:
- Jun 2024
- Posts:
- 270
- From:
- Unknown
Running WireGuard hub on a €5 Time4VPS box for 15 remote employees. Aggregate throughput peaks around 150Mbps and the CPU sits at 95%+. Load average 8 on 1 vCore. ChaCha20-Poly1305 eating cycles alive.
Topology: star config, all 15 peers to one hub. No split tunneling yet. Considering:
- AES-NI capable box upgrade (but Time4VPS cheapest tier lacks it)
- Kernel 6.x wireguard optimizations
- Some kind of mesh to reduce hub load?
What am I missing? This cannot be normal for 150Mbps. WARNINGS about crypto overhead appreciated!
airgapped, encrypted, faraday'd, still worried
danfra
Member
- Joined:
- Jun 2024
- Posts:
- 159
- From:
- Frankfurt, DE
ChaCha20 ~3 cycles/byte on modern x86. AES-NI ~0.8 cycles/byte. Your 1 vCore @ 2.4GHz = ~6 Gbps theoretical ChaCha20, but WireGuard has per-packet overhead, queue management, context switches. Real world 150Mbps at 95% CPU on oversubscribed host sounds correct.
Nebula uses AES-GCM if available, falls back to ChaCha20. Mesh reduces hub bottleneck. Lighthouse design = UDP hole punching, no single chokepoint.
Tested personally: 15-node Nebula on same spec, 280Mbps aggregate, 40% CPU. YMMV.
mitigated 800Gbps before breakfast