Skip to content

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

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

larseggert wants to merge 1 commit into
mozilla:mainfrom
larseggert: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).
@codecov

codecov Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.62%. Comparing base (e166635) to head (a9c80fa).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4394      +/-   ##
==========================================
- Coverage   96.73%   96.62%   -0.12%     
==========================================
  Files         113      118       +5     
  Lines       43491    43912     +421     
  Branches    43491    43912     +421     
==========================================
+ Hits        42073    42430     +357     
- Misses       1406     1461      +55     
- Partials       12       21       +9     
Flag Coverage Δ
freebsd 94.13% <100.00%> (-0.10%) ⬇️
linux 96.76% <100.00%> (-0.02%) ⬇️
macos 94.51% <100.00%> (+<0.01%) ⬆️
windows 94.58% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
neqo-common 99.33% <ø> (ø)
neqo-http3 96.00% <ø> (ø)
neqo-qpack 96.55% <ø> (ø)
neqo-transport 97.13% <100.00%> (+<0.01%) ⬆️
neqo-udp 87.63% <ø> (ø)
mtu 91.31% <ø> (ø)

@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:   [61.182 ms 61.230 ms 61.277 ms]
       thrpt:  [1.5937 GiB/s 1.5949 GiB/s 1.5962 GiB/s]
Found 2 outliers among 100 measurements (2.00%)
2 (2.00%) low mild
transfer/1-conn/1-100mb-resp (aka. Download)/mtu-1500
       time:   [59.585 ms 59.630 ms 59.674 ms]
       thrpt:  [1.6365 GiB/s 1.6377 GiB/s 1.6389 GiB/s]
transfer/1-conn/1-1b-resp (aka. HPS)/mtu-1500
       time:   [3.8197 ms 3.8203 ms 3.8210 ms]
       thrpt:  [261.71   B/s 261.76   B/s 261.80   B/s]
Found 8 outliers among 100 measurements (8.00%)
2 (2.00%) low mild
3 (3.00%) high mild
3 (3.00%) high severe
transfer/1-conn/10_000-parallel-1b-resp (aka. RPS)/mtu-1500
       time:   [87.646 ms 87.816 ms 87.990 ms]
       thrpt:  [113.65 Kelem/s 113.87 Kelem/s 114.10 Kelem/s]
Found 3 outliers among 100 measurements (3.00%)
1 (1.00%) low mild
2 (2.00%) high mild
streams-flow-controlled/walltime/1-streams/each-4194304-bytes
       time:   [13.158 ms 13.162 ms 13.165 ms]
       thrpt:  [303.84 MiB/s 303.91 MiB/s 303.99 MiB/s]
Found 1 outliers among 100 measurements (1.00%)
1 (1.00%) high mild
streams-flow-controlled/walltime/10-streams/each-1048576-bytes
       time:   [35.719 ms 35.742 ms 35.761 ms]
       thrpt:  [279.64 MiB/s 279.79 MiB/s 279.97 MiB/s]
Found 4 outliers among 100 measurements (4.00%)
2 (2.00%) low severe
1 (1.00%) low mild
1 (1.00%) high mild
streams/walltime/1-streams/each-1000-bytes
       time:   [162.54 µs 163.20 µs 164.04 µs]
       thrpt:  [5.8137 MiB/s 5.8435 MiB/s 5.8673 MiB/s]
Found 2 outliers among 100 measurements (2.00%)
2 (2.00%) high mild
streams/walltime/1000-streams/each-1-bytes
       time:   [4.7786 ms 4.7808 ms 4.7830 ms]
       thrpt:  [204.17 KiB/s 204.27 KiB/s 204.36 KiB/s]
streams/walltime/1000-streams/each-1000-bytes
       time:   [15.241 ms 15.252 ms 15.263 ms]
       thrpt:  [62.484 MiB/s 62.527 MiB/s 62.571 MiB/s]
Found 1 outliers among 100 measurements (1.00%)
1 (1.00%) low mild
transfer/walltime/pacing-false/same-seed
       time:   [3.5157 ms 3.5171 ms 3.5188 ms]
       thrpt:  [1.1101 GiB/s 1.1106 GiB/s 1.1111 GiB/s]
Found 1 outliers among 100 measurements (1.00%)
1 (1.00%) low mild
transfer/walltime/pacing-false/varying-seeds
       time:   [3.1574 ms 3.1595 ms 3.1622 ms]
       thrpt:  [1.2353 GiB/s 1.2363 GiB/s 1.2372 GiB/s]
transfer/walltime/pacing-true/same-seed
       time:   [3.9583 ms 3.9598 ms 3.9616 ms]
       thrpt:  [1009.7 MiB/s 1010.2 MiB/s 1010.5 MiB/s]
Found 1 outliers among 100 measurements (1.00%)
1 (1.00%) high mild
transfer/walltime/pacing-true/varying-seeds
       time:   [4.0011 ms 4.0045 ms 4.0084 ms]
       thrpt:  [997.91 MiB/s 998.88 MiB/s 999.73 MiB/s]
Found 1 outliers among 100 measurements (1.00%)
1 (1.00%) high mild

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.11 3.19 +2.5%
transfer/1-conn/1-100mb-req (aka. Upload)/mtu-1500 3.08 3.12 +1.4%
streams-flow-controlled/walltime/1-streams/each-4194304-bytes 2.98 2.96 -0.8%
streams/walltime/1000-streams/each-1000-bytes 2.94 2.95 +0.6%
transfer/walltime/pacing-true/same-seed 2.89 2.87 -0.5%
transfer/1-conn/10_000-parallel-1b-resp (aka. RPS)/mtu-1500 3.21 3.22 +0.4%
transfer/walltime/pacing-false/varying-seeds 2.88 2.89 +0.3%
streams/walltime/1000-streams/each-1-bytes 3.27 3.27 -0.3%
transfer/walltime/pacing-true/varying-seeds 2.86 2.86 -0.1%
streams-flow-controlled/walltime/10-streams/each-1048576-bytes 3.11 3.11 +0.1%
streams/walltime/1-streams/each-1000-bytes 2.58 2.58 +0.1%
transfer/walltime/pacing-false/same-seed 2.88 2.88 -0.0%
transfer/1-conn/1-1b-resp (aka. HPS)/mtu-1500 2.25 2.25 -0.0%
Profiles for profiler.firefox.com (64)

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

@codspeed

codspeed Bot commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

Merging this PR will improve performance by 3.65%

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

⚡ 5 improved benchmarks
✅ 96 untouched benchmarks

Performance Changes

Mode Benchmark BASE HEAD Efficiency
⚡ Walltime walltime/pacing-false/varying-seeds 3.4 ms 3.3 ms +5.59%
⚡ Walltime 1-conn/10_000-parallel-1b-resp (aka. RPS) 87 ms 83.2 ms +4.48%
⚡ Walltime walltime/pacing-true/varying-seeds 4 ms 3.9 ms +2.96%
⚡ Walltime neqo-s2n 59.8 ms 58.2 ms +2.7%
⚡ Walltime neqo-neqo-cubic 26.9 ms 26.2 ms +2.57%

Tip

Curious why performance improved? Comment @codspeedbot explain why performance improved on this PR, or directly use the CodSpeed MCP with your agent.


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

Open in CodSpeed

@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: 🚀C20 Z ⚠️R B L1 ⚠️L2 C1 6
neqo-pr vs. linuxquic: ⚠️CM
neqo-pr vs. lsquic: L1 C1 🚀BP
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 C1
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: baseline result missing
openssl vs. neqo-pr: LR M A CM
quic-go vs. neqo-pr: CM
quic-zig vs. neqo-pr: 🚀L1 CM
quiche vs. neqo-pr: CM
quinn vs. neqo-pr: L1 V2 CM
s2n-quic vs. neqo-pr: 🚀BP ⚠️B CM
tquic vs. neqo-pr: ⚠️C1 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

@github-actions

Copy link
Copy Markdown
Contributor

Client/server transfer results

Performance differences relative to e166635.

No significant performance differences.

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 ⚠️ 156.5 ± 0.8 155.1 – 162.5 156.4 ± 0.6 204.5 ± 1.1
google-neqo-cubic 79.8 ± 0.4 78.9 – 80.8 79.8 ± 0.4 400.9 ± 2.0 +0.6 (+0.8%)
neqo-google-cubic 245.8 ± 40.8 204.2 – 334.1 238.4 ± 46.0 130.2 ± 21.6 +16.6 (+7.5%)
neqo-neqo-cubic 23.8 ± 0.2 23.5 – 24.3 23.8 ± 0.2 1342.6 ± 10.5 -0.1 (-0.5%)
neqo-neqo-cubic-nopacing 23.4 ± 0.1 23.1 – 23.9 23.4 ± 0.1 1367.7 ± 8.3 -0.1 (-0.2%)
neqo-neqo-newreno 23.8 ± 0.2 23.4 – 24.4 23.8 ± 0.2 1343.7 ± 11.5 -0.1 (-0.6%)
neqo-neqo-newreno-nopacing 23.2 ± 0.2 22.9 – 23.8 23.2 ± 0.1 1378.1 ± 9.0 -0.2 (-0.6%)
neqo-quiche-cubic 35.1 ± 0.3 34.3 – 36.4 35.0 ± 0.3 912.1 ± 8.9 +0.0 (+0.1%)
neqo-s2n-cubic 45.2 ± 0.2 44.7 – 45.9 45.2 ± 0.2 708.3 ± 3.6 -0.1 (-0.1%)
quiche-neqo-cubic ⚠️ 36.4 ± 2.7 35.1 – 62.6 36.1 ± 0.4 878.7 ± 64.6 -0.2 (-0.7%)
quiche-quiche 42.2 ± 0.2 41.7 – 42.8 42.2 ± 0.2 757.8 ± 4.3
s2n-neqo-cubic 129.1 ± 0.7 127.8 – 131.0 129.1 ± 0.8 247.9 ± 1.4 +0.6 (+0.5%)
s2n-s2n ⚠️ 177.0 ± 24.1 147.9 – 274.3 171.4 ± 1.3 180.8 ± 24.6

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

@larseggert larseggert closed this Nov 19, 2026
@larseggert
larseggert deleted the fix-pc-lost-probe-continuity branch November 19, 2026 22:40
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