Skip to contentSkip to conversation

AES-GCM & gigabit networks

Openvpn-devel Jan Just Keijser 1 participant 1 message Aug 17, 2016

lore
Share & tools
lore
#0 lore raw

hi all,

just wanted to share some results with you:

AES-GCM has a *very* nice impact on openvpn's performance over gigabit networks. I'm now capable of saturating a gigabit ethernet link with full AES-256-GCM encryption (Linux on both ends).

Raw iperf results:
- ethernet: 935 Mbps
- plaintext tunnel: 920 Mbps
- openvpn aes-256-cbc + sha256: 640 - 670 Mbps
- openvpn aes-256-gcm: 900 - 907 Mbps

that's the saturation point for an OpenVPN tunnel: it's quite hard to squeeze more than 90 Mbps out of an OpenVPN tunnel on a 100 Megabit network - and now , similarly for gigabit.

Hardware used:
client = i7 4810 ; max turbo = 3.8 GHz
server = Xeon E5 2697A v4; max turbo = 3.6 GHz

but on all Intel AES-NI capable hardware you get a similar performance improvement. And as always, clockspeed is king :)

Performance on Windows, however, is quite crappy - if someone can enlighten me how to improve performance on Windows then please contact me. For example, same network, same Linux, same client now running Windows 7: performance does not even reach 80 Mbps using iperf.

share and enjoy,

JJK