Skip to content

Modernize quiche and remove the single-stream flow ceiling - #329

Merged
davidtorcivia merged 6 commits into
mainfrom
codex/quic-flow-window
Aug 19, 2026
Merged

davidtorcivia merged 6 commits into
mainfrom
codex/quic-flow-window

Conversation

@davidtorcivia

@davidtorcivia davidtorcivia commented Aug 19, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • update the maintained quiche carrier from 0.24.9 to 0.29.3
  • preserve the measured ACK-loop loss floor and established-only TLS exporter patches
  • let one bulk stream consume the existing aggregate connection window
  • bound and retry apt index refreshes so stalled mirrors cannot consume an entire CI job

The flow-control change does not raise aggregate receive credit or its memory bound. It removes the prior one-eighth per-stream ceiling without adding application lanes.

Fork prerequisite: halideworks/quiche#3.

Validation

  • upstream quiche: 1,110 unit tests and 45 doc tests
  • VOT live quiche carrier: 72 passed, 1 measurement ignored
  • VOT CLI with wire: 258 library and 2 binary tests
  • strict VOT wire Clippy and formatting
  • 2 GiB local, one rail, FEC off: 2.251s candidate median versus 2.261s on main

Live WAN

Hetzner Helsinki to Singapore, 191.8ms RTT, exact 12 GiB object, eight VOT rails:

  • raw TCP: 105 Mb/s with 1 stream, 878 Mb/s with 8, 1.93 Gb/s with 16
  • clean candidate: 57.785s, 1.784 Gb/s, exact root and byte count verified
  • clean main: 56.799s, 1.815 Gb/s; steady-state difference is within link variance
  • first payload: 1.421s candidate versus 2.846s on main (50% lower)

The clean candidate reached 92.4% of the measured 16-stream raw TCP ceiling. The two temporary CPX32 hosts and their SSH key were deleted after evidence collection.

Move the maintained ACK-floor and TLS-exporter patches onto current quiche, update the locked native dependencies, and ensure CI installs clang for bindgen-backed BoringSSL builds.

Signed-off-by: David Torcivia <david.torcivia@gmail.com>
Keep the same aggregate receive credit while allowing a single bulk stream to consume it. This removes an artificial one-eighth flow-control ceiling without increasing the connection's buffering bound.

Signed-off-by: David Torcivia <david.torcivia@gmail.com>
Signed-off-by: David Torcivia <david.torcivia@gmail.com>
Signed-off-by: David Torcivia <david.torcivia@gmail.com>
Signed-off-by: David Torcivia <david.torcivia@gmail.com>
Signed-off-by: David Torcivia <david.torcivia@gmail.com>
@davidtorcivia
davidtorcivia marked this pull request as ready for review August 19, 2026 05:24
@davidtorcivia

Copy link
Copy Markdown
Contributor Author

Independent exact-head review at 3feb180f7301c3a67c70949f05af752e7fafcffe: clean. The manifest and lockfile resolve both quiche and octets to reviewed commit 2bb421877826605514a4c21e7315b3439619c35f; locked dependency resolution was verified. No actionable blockers.

@davidtorcivia
davidtorcivia merged commit fb09d87 into main Aug 19, 2026
75 of 76 checks passed
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