Fortigate IPSEC best cipher for performance
Hi,
I did some comparison for throughput of Fortigate IPSEC tunnel on AWS. Here are my findings:
- Encryption load is not scaled between multiple CPU cores (not a surprise)
- A more complex (higher DH-group or hash function) does not result in worse performance
- AES256GCM (and other non AES-CBC algorithms) were a (bad) surprise
Given that additional CPU cores did not improve the throughput, I only tested instances with 2 vCPUs.
Instance c7i.large, aes256-sha512 dh-group 21: 2 Gbit/s
Instance c5n.large, aes256-sha512 dh-group 21: 1.43 Gbit/s
Instance c7i.large, aes256gcm dh-group 21: 70 Mbit/s (!)
Is there any guidance available which is the best (most optimized) instance / cipher combination to get max throughput on AWS ec2?