Skip to content

test: cover large Client/ServerHello packets - #3299

Merged
Mark-Simulacrum merged 1 commit into
aws:mainfrom
Mark-Simulacrum:initial-mtu-slow
Sep 2, 2026
Merged

test: cover large Client/ServerHello packets#3299
Mark-Simulacrum merged 1 commit into
aws:mainfrom
Mark-Simulacrum:initial-mtu-slow

Conversation

@Mark-Simulacrum

Copy link
Copy Markdown
Collaborator

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:

  • classical ClientHello - 10ms
  • ML-KEM ClientHello - 191ms
  • ML-KEM ClientHello, initial_mtu = base_mtu - 5ms

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.

@Mark-Simulacrum
Mark-Simulacrum requested a review from a team as a code owner September 2, 2026 17:35
Comment thread quic/s2n-quic-tests/src/tests/pq_initial_mtu.rs Outdated
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
Mark-Simulacrum merged commit 2be9db5 into aws:main Sep 2, 2026
168 of 169 checks passed
@Mark-Simulacrum
Mark-Simulacrum deleted the initial-mtu-slow branch September 3, 2026 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants