Skip to content

fix(transport): Keep lost PMTUD probes in persistent congestion continuity checks - #4398

Draft
larseggert wants to merge 1 commit into
mainfrom
fix-pc-lost-probe-continuity
Draft

larseggert wants to merge 1 commit into
mainfrom
fix-pc-lost-probe-continuity

Conversation

@larseggert

Copy link
Copy Markdown
Collaborator

A lost probe is not acknowledged, so it must not split a span of lost packets (RFC 9002, Section 7.6.2).

…nuity checks

A lost probe is not acknowledged, so it must not split a span of lost packets (RFC 9002, Section 7.6.2).
@github-actions

Copy link
Copy Markdown
Contributor

Failed Interop Tests

QUIC Interop Runner, client vs. server, differences relative to main at e166635.

neqo-pr as clientneqo-pr as server
neqo-pr vs. go-x-net: BP BA
neqo-pr vs. haproxy: BP BA
neqo-pr vs. kwik: Z 🚀U L1 🚀L2 C1 🚀C2
neqo-pr vs. linuxquic: CM
neqo-pr vs. lsquic: run cancelled after 20 min
neqo-pr vs. msquic: A L1 C1
neqo-pr vs. mvfst: H DC LR C20 M S R Z 3 B U E A L1 L2 C1 C2 6 V2 BP BA CM
neqo-pr vs. neqo: A
neqo-pr vs. nginx: BP BA
neqo-pr vs. ngtcp2: Z 🚀L1 C1 CM
neqo-pr vs. picoquic: A ⚠️BP BA
neqo-pr vs. quic-go: A
neqo-pr vs. quiche: BP BA
neqo-pr vs. s2n-quic: CM
neqo-pr vs. tquic: S BP BA
neqo-pr vs. xquic: Z A 🚀L1
go-x-net vs. neqo-pr: CM
kwik vs. neqo-pr: CM
lsquic vs. neqo-pr: ⚠️L1
msquic vs. neqo-pr: CM
mvfst vs. neqo-pr: H DC LR C20 M S R Z 3 B U E A L1 L2 C1 C2 6 V2 BP BA CM
neqo vs. neqo-pr: run cancelled after 20 min
openssl vs. neqo-pr: LR M A CM
quic-go vs. neqo-pr: CM
quic-zig vs. neqo-pr: CM
quiche vs. neqo-pr: CM
quinn vs. neqo-pr: V2 CM
s2n-quic vs. neqo-pr: BP CM
tquic vs. neqo-pr: CM
xquic vs. neqo-pr: M CM
All results

Succeeded Interop Tests

QUIC Interop Runner, client vs. server

neqo-pr as client

neqo-pr as server

Unsupported Interop Tests

QUIC Interop Runner, client vs. server

neqo-pr as client

neqo-pr as server

@codspeed

codspeed Bot commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

Merging this PR will degrade performance by 2.87%

1 warning

⚠️ 1 benchmark is dominated by system calls

System calls cannot be simulated consistently and are left out of the measure. The reported value understates the real cost. Switch to the Walltime instrument to measure them.

Learn more about system calls

See affected benchmarks

⚡ 1 improved benchmark
❌ 3 regressed benchmarks
✅ 97 untouched benchmarks

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
❌ Walltime quiche-neqo 46.4 ms 49.6 ms -6.46%
❌ Walltime walltime/pacing-false/same-seed 3.4 ms 3.5 ms -5.08%
❌ Walltime walltime/pacing-true/same-seed 4 ms 4.1 ms -2.11%
⚡ Walltime neqo-neqo-cubic 26.9 ms 26.3 ms +2.39%

Tip

Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.


Comparing fix-pc-lost-probe-continuity (a9c80fa) with main (e166635)

Open in CodSpeed

@github-actions

Copy link
Copy Markdown
Contributor

Client/server transfer results

Performance differences relative to e166635.

Transfer of 33554432 bytes over loopback, min. 100 runs. All unit-less numbers are in milliseconds.

Client vs. server Mean±σ Min–Max Median±MAD MiB/s±σ ΔMedian
neqo-neqo-cubic 24.0 ± 0.2 23.6 – 24.7 23.9 ± 0.2 1333.4 ± 12.3 💚 -0.6 (-2.4%)

Table above only shows statistically significant changes. See all results below.

All results

Transfer of 33554432 bytes over loopback, min. 100 runs. All unit-less numbers are in milliseconds.

Client vs. server Mean±σ Min–Max Median±MAD MiB/s±σ ΔMedian
google-google 160.2 ± 0.5 159.2 – 161.8 160.1 ± 0.5 199.8 ± 0.7
google-neqo-cubic 79.0 ± 0.4 78.0 – 80.0 79.0 ± 0.4 405.1 ± 2.0 +0.7 (+0.9%)
neqo-google-cubic 243.5 ± 35.5 190.8 – 310.6 240.3 ± 50.8 131.4 ± 19.2 -4.6 (-1.9%)
neqo-neqo-cubic 24.0 ± 0.2 23.6 – 24.7 23.9 ± 0.2 1333.4 ± 12.3 💚 -0.6 (-2.4%)
neqo-neqo-cubic-nopacing 23.3 ± 0.1 23.1 – 23.6 23.3 ± 0.1 1374.6 ± 6.5 -0.1 (-0.3%)
neqo-neqo-newreno 23.8 ± 0.2 23.4 – 24.1 23.9 ± 0.2 1344.4 ± 10.5 -0.1 (-0.2%)
neqo-neqo-newreno-nopacing 23.4 ± 0.2 23.1 – 24.1 23.4 ± 0.1 1366.5 ± 9.6 -0.1 (-0.3%)
neqo-quiche-cubic 35.3 ± 0.3 34.7 – 36.2 35.3 ± 0.3 905.7 ± 8.4 +0.1 (+0.3%)
neqo-s2n-cubic 45.4 ± 0.2 45.1 – 45.9 45.5 ± 0.2 704.1 ± 3.2 +0.1 (+0.1%)
quiche-neqo-cubic 36.4 ± 0.5 35.0 – 37.6 36.3 ± 0.4 880.3 ± 11.6 -0.3 (-0.9%)
quiche-quiche 42.3 ± 0.2 41.9 – 42.8 42.3 ± 0.2 757.0 ± 3.8
s2n-neqo-cubic 126.2 ± 0.7 124.6 – 128.5 126.3 ± 0.7 253.5 ± 1.4 +0.2 (+0.1%)
s2n-s2n ⚠️ 178.7 ± 29.2 147.6 – 269.8 171.2 ± 1.2 179.1 ± 29.3

Download data for profiler.firefox.com or download performance comparison data.

@github-actions

Copy link
Copy Markdown
Contributor

Benchmark results

No significant performance differences relative to e166635.

All results
transfer/1-conn/1-100mb-req (aka. Upload)/mtu-1500
       time:   [59.203 ms 59.245 ms 59.286 ms]
       thrpt:  [1.6472 GiB/s 1.6484 GiB/s 1.6495 GiB/s]
transfer/1-conn/1-100mb-resp (aka. Download)/mtu-1500
       time:   [59.456 ms 59.512 ms 59.569 ms]
       thrpt:  [1.6394 GiB/s 1.6410 GiB/s 1.6425 GiB/s]
Found 1 outliers among 100 measurements (1.00%)
1 (1.00%) high mild
transfer/1-conn/1-1b-resp (aka. HPS)/mtu-1500
       time:   [3.8109 ms 3.8118 ms 3.8127 ms]
       thrpt:  [262.28   B/s 262.34   B/s 262.40   B/s]
Found 6 outliers among 100 measurements (6.00%)
2 (2.00%) low mild
3 (3.00%) high mild
1 (1.00%) high severe
transfer/1-conn/10_000-parallel-1b-resp (aka. RPS)/mtu-1500
       time:   [87.305 ms 87.490 ms 87.670 ms]
       thrpt:  [114.06 Kelem/s 114.30 Kelem/s 114.54 Kelem/s]
Found 1 outliers among 100 measurements (1.00%)
1 (1.00%) low mild
streams-flow-controlled/walltime/1-streams/each-4194304-bytes
       time:   [13.025 ms 13.029 ms 13.034 ms]
       thrpt:  [306.90 MiB/s 307.00 MiB/s 307.09 MiB/s]
Found 2 outliers among 100 measurements (2.00%)
2 (2.00%) high mild
streams-flow-controlled/walltime/10-streams/each-1048576-bytes
       time:   [35.222 ms 35.248 ms 35.278 ms]
       thrpt:  [283.47 MiB/s 283.70 MiB/s 283.91 MiB/s]
Found 6 outliers among 100 measurements (6.00%)
1 (1.00%) high mild
5 (5.00%) high severe
streams/walltime/1-streams/each-1000-bytes
       time:   [162.60 µs 163.29 µs 164.16 µs]
       thrpt:  [5.8096 MiB/s 5.8404 MiB/s 5.8651 MiB/s]
Found 3 outliers among 100 measurements (3.00%)
3 (3.00%) high mild
streams/walltime/1000-streams/each-1-bytes
       time:   [4.7188 ms 4.7210 ms 4.7233 ms]
       thrpt:  [206.75 KiB/s 206.85 KiB/s 206.95 KiB/s]
streams/walltime/1000-streams/each-1000-bytes
       time:   [15.212 ms 15.223 ms 15.232 ms]
       thrpt:  [62.608 MiB/s 62.649 MiB/s 62.690 MiB/s]
Found 4 outliers among 100 measurements (4.00%)
4 (4.00%) low mild
transfer/walltime/pacing-false/same-seed
       time:   [3.3819 ms 3.3856 ms 3.3904 ms]
       thrpt:  [1.1521 GiB/s 1.1538 GiB/s 1.1550 GiB/s]
Found 14 outliers among 100 measurements (14.00%)
2 (2.00%) high mild
12 (12.00%) high severe
transfer/walltime/pacing-false/varying-seeds
       time:   [3.2264 ms 3.2290 ms 3.2322 ms]
       thrpt:  [1.2085 GiB/s 1.2097 GiB/s 1.2107 GiB/s]
transfer/walltime/pacing-true/same-seed
       time:   [4.0448 ms 4.0464 ms 4.0484 ms]
       thrpt:  [988.04 MiB/s 988.52 MiB/s 988.94 MiB/s]
transfer/walltime/pacing-true/varying-seeds
       time:   [4.0367 ms 4.0395 ms 4.0430 ms]
       thrpt:  [989.37 MiB/s 990.21 MiB/s 990.92 MiB/s]

Instructions per cycle

Criterion reported no significant timing changes.

All benchmarks
Benchmark IPC before IPC after ΔIPC
transfer/1-conn/1-100mb-resp (aka. Download)/mtu-1500 3.10 3.20 +3.1%
transfer/1-conn/1-100mb-req (aka. Upload)/mtu-1500 3.07 3.15 +2.4%
streams-flow-controlled/walltime/1-streams/each-4194304-bytes 2.94 2.97 +1.2%
streams-flow-controlled/walltime/10-streams/each-1048576-bytes 3.10 3.13 +0.8%
transfer/1-conn/10_000-parallel-1b-resp (aka. RPS)/mtu-1500 3.21 3.22 +0.5%
streams/walltime/1000-streams/each-1000-bytes 2.95 2.94 -0.4%
transfer/walltime/pacing-true/same-seed 2.87 2.88 +0.4%
transfer/walltime/pacing-false/same-seed 2.88 2.87 -0.2%
transfer/walltime/pacing-true/varying-seeds 2.88 2.88 -0.2%
streams/walltime/1000-streams/each-1-bytes 3.28 3.28 +0.2%
streams/walltime/1-streams/each-1000-bytes 2.57 2.57 -0.2%
transfer/walltime/pacing-false/varying-seeds 2.88 2.89 +0.2%
transfer/1-conn/1-1b-resp (aka. HPS)/mtu-1500 2.25 2.25 -0.1%
Profiles for profiler.firefox.com (64)

Download data for profiler.firefox.com or download performance comparison data.

This branch has not been deployed

No deployments
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.

1 participant