Insights into TLS performance: Evaluating OpenSSL 1.1.1...
summary
Juniper upgrades firewalls from OpenSSL 1.1.1 to 3.x and finds concrete tradeoffs: 3.0 causes 50–80% throughput drop (TLS1.2/1.3) and high CPU; profiling pins the hotspot to EVP_PQ_public_check invoking costly big‑num mulmont; experimental disabling of that check restores throughput but is non‑shipping. 3.1 mitigations recover most performance on larger boxes; 3.4 fixes CPU regressions but raises per‑session memory ~50%, causing a 5–15% scaling loss that is partially recovered by tuning Junos memory pooling while FIPS chassis constraints limit options.
AI-written summary · about
chapters (13)
- 0:00Introduction and team overview
- 3:11Firewall team and cryptographic focus
- 7:51Product lineup and performance metrics
- 9:37OpenSSL 3.0 performance drop
- 12:28OpenSSL 3.1 mitigations and testing
- 16:52OpenSSL 3.1 results and optimizations
- 18:15OpenSSL 3.4 performance and memory impact
- 22:32Summary of OpenSSL upgrades
- 23:40Future plans and FIPS concerns
- 25:47Community feedback and next steps
- 27:13Q&A: Forks and AVX2 considerations
- 28:57Q&A: Threading and performance
- 30:20Q&A: Memory optimizations and providers
