X25519MLKEM768 performance: latency & ClientHello size
Updated:
Short answer
X25519MLKEM768 adds only ~150–350 microseconds of CPU time on modern servers (under 1 ms) and zero extra TLS round trips when offered first. The main network change is a 1,216-byte ClientHello key share, which pushes ClientHello across two TCP segments and can trip legacy middleboxes.
Scan your site now, free
Enabling hybrid post-quantum TLS 1.3 (X25519MLKEM768, NIST FIPS 203) adds negligible CPU time on modern servers, typically well under one millisecond per handshake. The operational difference you actually need to plan for is packet size, not CPU.
Wire sizes: X25519 vs X25519MLKEM768
| Metric | Classical X25519 | Hybrid X25519MLKEM768 |
|---|---|---|
| ClientHello key share | 32 bytes | 1,216 bytes (1,184 B ML-KEM-768 + 32 B X25519) |
| ServerHello key share | 32 bytes | 1,120 bytes (1,088 B ciphertext + 32 B X25519) |
| Typical ClientHello total | ~300–550 bytes (1 TCP segment) | ~1,500–1,800 bytes (2 TCP segments on 1,500 B MTU) |
| Extra TLS round trips (1-RTT) | 0 | 0 (unless HelloRetryRequest triggers) |
| CPU cost (modern x86_64/ARM64) | ~50–100 µs | ~150–350 µs (~0.5–2% of a typical WAN RTT) |
Why CPU is rarely the bottleneck
ML-KEM-768 key generation, encapsulation and decapsulation use lattice arithmetic (NTT over small integers) that runs in tens to a few hundred microseconds on modern CPUs with AVX2 or NEON. Across a 20–80 ms internet round trip, that CPU delta is invisible to end users, and TLS 1.3 session resumption avoids repeating key exchange on subsequent connections anyway.
What actually breaks in production: 2-segment ClientHello
Because a classical ClientHello fits inside a single 1,500-byte Ethernet frame while an X25519MLKEM768 ClientHello spans two TCP segments, legacy firewalls, DPI appliances and misconfigured load balancers occasionally drop or stall the handshake. That causes a timeout or a silent fallback, not slow CPU. Check whether your public hosts survive a real hybrid ClientHello with our free single-handshake scanner.
Avoiding an extra HelloRetryRequest round trip
If your server lists X25519MLKEM768 first while a client sends only a classical key share (or vice versa), TLS 1.3 falls back to a HelloRetryRequest, adding one full network round trip (1 RTT). Match Chrome, Firefox and Safari by keeping X25519MLKEM768 first in your group preference list, with X25519 and prime256v1 as fallbacks — see our nginx guide or config generator.
Verify and monitor after enabling
Measure any host now at ather-quantum.com, or start a 14-day free daily monitoring trial (up to 10 domains, no card) to get alerted if a CDN or firewall change silently reverts your endpoints back to classical TLS.