Nullity
Very Senior Member
Yes - it's due to design - L2TP/IPSec will always be faster than OpenVPN - OVPN will always use the TUN interface, and between the jumps up and down from User to Kernel space, and the subsequent memory thrashes... and this is with, or without, OpenSSL acceleration that some chips offer..
LT2P, along with PPTP, live in kernel space - they don't have the overhead there...
Folks that do VPN for a living - OpenVPN isn't really an option for B2B connections - the overhead there is just too expensive compared to L2TP/IPSec...
Cloudflare had a blog post recently explaining that they achieve ~10x performance by by-passing the kernel. https://blog.cloudflare.com/kernel-bypass/
Kernel-space processing is not automatically a more efficient design choice.
A quick Googling shows that IPsec tends to be faster, but OpenVPN is also occasionally faster. No clear winner. Very hardware dependant.
This site: https://www.bestvpn.com/blog/4147/pptp-vs-l2tp-vs-openvpn-vs-sstp-vs-ikev2/ says
Relatively minor compared to the last point, but probably worth mentioning, is that because L2TP/IPsec encapsulates data twice, it is not as efficient as SSL based solutions (such as OpenVPN and SSTP,) and is therefore slightly slower.
Seems, from a design stand-point, IPsec is the less efficient. How many devices support HW acceleration for IPsec and not OpenVPN is a separate conversation, though valid.
Still, I see no mention of IPsec vs OpenVPN while they both use the same cipher. Is this impossible?
Edit: As kvic said, numbers would be nice.