test: cover large Client/ServerHello packets - #3299
Merged
Merged
Conversation
maddeleine
reviewed
Sep 2, 2026
Adds a bach simulation of the handshake latency regression that appears when post-quantum key exchange (s2n-tls policy 20250721) makes the first flight too large for a PTO probe to carry and the initial MTU is set to ~9kb. Measured in simulated time at a 1ms RTT on a 1500-byte path, with base_mtu 1450 and initial_mtu 8940 on both endpoints: * classical ClientHello - 10ms * ML-KEM ClientHello - 191ms * ML-KEM ClientHello, initial_mtu = base_mtu - 9ms w/o client buffering * ML-KEM ClientHello, initial_mtu = base_mtu - 5ms w/ client buffering This is essentially adding a test case demonstrating the fixes in aws#3295 and aws#3296 work.
Mark-Simulacrum
force-pushed
the
initial-mtu-slow
branch
from
September 2, 2026 19:42
53979c0 to
6f94d6c
Compare
Mark-Simulacrum
enabled auto-merge (squash)
September 2, 2026 20:48
maddeleine
approved these changes
Sep 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release Summary:
Resolved issues:
n/a
Description of changes:
Adds a bach simulation of the handshake latency regression that appears when post-quantum key exchange (s2n-tls policy 20250721) makes the first flight too large for a PTO probe to carry and the initial MTU is set to ~9kb.
Measured in simulated time at a 1ms RTT on a 1500-byte path, with base_mtu 1450 and initial_mtu 8940 on both endpoints:
This is essentially adding a test case demonstrating the fixes in #3295 and #3296 work. We don't integrate this into s2n-quic-dc directly -- maybe we should also do that, but this was easier.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.