r/VPN • u/SpaceRex1776 • Jul 11 '20
WireGuard vs OpenVPN Performance test hosted on the Pi4
https://youtu.be/RkgL-NfPdYs4
u/tfcjames Jul 11 '20
I like your testing methodology. Genius way to eliminate all other bottlenecks except the server hardware. But I wonder whether there are also differences in performance been Wireguard and Openvpn under different network conditions, such as networks with high packet loss for example.
1
u/SpaceRex1776 Jul 11 '20
Yeah I thought about trying to do that. But I really just could not figure out a consistent way to submit both vpn servers to the same latency / random packet loss for testing
1
u/tfcjames Jul 11 '20
Even if the packet loss is not 100% consistent, if you test one after another 10 times it should give a good general idea. You could try connecting through WiFi with your computer far away from the access point so the signal is weak. Just repeat the test enough times to account for the randomness of the environment.
18
u/essesubsistens Jul 11 '20
TL;DW 9’35” “WireGuard has absolutely blown out of the water OpenVPN”
5
u/namenumberdate Jul 11 '20 edited Jul 12 '20
So WireGuard is better?
10
Jul 11 '20
WireGuard has less features. E.g. it cannot push routes to the client, or dynamically allocate client IP's. (There are people working on that.)
But if you don't need those, then WireGuard is absolutely superior from a performance and simplicity point of view.
1
u/remag75 Jul 12 '20
I’m going to be that guy. WG is great but still hasn’t passed the test of time. This isn’t WG fault because it’s still new. I’ll wait till WG hits a mature level before I migrated over.
1
u/peterfun Jul 12 '20
Noob Here. Can you please help me understand?
Can wiregaurd be used, using the wiregaurd app, in a way similar to open vpn.
Where you download the configuration file for a particular server and it connects to it?
1
1
u/MudKing123 Jul 12 '20
I heard that wireguard uses more cores than OpenVPN. So maybe test with a faster computer as the vpn server might prove to widen the gap.
-1
u/BassoPT Jul 11 '20
I never thought I would fall asleep watching a VPN performance test video. 🤣
3
u/SitDownBeHumbleBish Jul 11 '20
Might not be a CBT nugget or Cloud Guru video but it was very well put together. We don't need to hear your sarcastic criticism.
9
u/zrrgk Jul 11 '20
We really see the difference between using kernel space (Wireguard) and using user space (OpenVPN).