You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
QUIC: an HTTP/3 mesh request costs 3.3× the proxy CPU of h2 (0.8 rps per connection, 64 connections per destination); gate the flag drop on ≤1.5× #1021
Under matched load (rev239 h2 vs rev242 with 100 of 350 mesh rps on QUIC), 97 % of the +0.78 proxy cores is the HTTP/3 request path: an h2 mesh request costs ~3.3 ms of proxy CPU across both proxies, an h3 request ~11 ms, 3.3×. It is not handshake churn (no new connections in the window). The shape that makes each request expensive: tiny requests (92 B in / 903 B out) spread over 128 QUIC connections carrying 100 rps (~0.8 rps per connection), so every request pays its own ACK processing, alarms and extra UDP packets in userspace; kernel udp_sendmsg alone is +0.108 cores, and QUIC writes now happen inline from the downstream side where h2 deferred them. Memory: ~340 KiB per live QUIC connection end (+87 MiB fleet).
Projection for unconditional QUIC: ~+2.7 cores (fleet ~4.8 vs ~2.09 with h2 everywhere, 2.3×) and ~+300 MiB heap for live connections.
Ask (each a measurable step; #979 gates on the result)
Explain the fan-out: why ~64 QUIC connections per destination for 50 rps from 5 source pods. connection_pool_per_downstream_connection on the twin (inherited from the h2 base, needed there for per-source cert isolation) pins one upstream QUIC connection per k6 downstream connection; on a per-SA twin the identity is already fixed by the cluster, so that setting may be unnecessary on twins. Measure connections and CPU with it off.
UDP GSO/GRO on the QUIC transport (nothing is configured under agent/internal/xds), and review QUIC ACK frequency / max_ack_delay settings for many-small-requests traffic.
Same-revision measurement, 2026-09-28, rev247 (1.0.3-799acda, GRO on the inbound QUIC listener, pool guard)
Two matched 80-min no-roll windows on the same build, same k6 arrival rate (5 loaders × 60 rps = 300 rps, constant-arrival-rate), only the target set changed:
phase
targets
window
k6
fleet aether-proxy CPU (Pyroscope process_cpu, 5-min steps)
idle
none (prober + dialers only)
12:10–12:50Z
–
0.849 cores
A
svc-3, svc-4, echo, mixed-svc (h2)
13:00–14:10Z
1,440,002 reqs, 0 failed
3.527 cores
B
svc-1, svc-2 (QUIC twins)
14:25–15:35Z
1,439,930 reqs, 0 failed
4.009 cores
Load placement verified: phase B ran 150 rps on each of aether-test/svc-1@aether-test/default and svc-2@… (the per-SA twins), 0 on the bare h2 clusters; phase A ran ~75 rps on each of the four h2 clusters.
Per-request proxy CPU above idle (both proxies): A = 2.678 cores / 300 rps = 8.9 ms; B = 3.160 cores / 300 rps = 10.5 ms. h3 / h2 = 1.18× — under the ≤1.5× gate.
Phase B drifted up in its last 25 min (1.17 → 1.28 ×10¹² ns/step, ≈ +8 %) starting ~15:10Z — one hour after the QUIC load began, i.e. at the --east-west-quic-pair-fetch-window boundary. Phase A had no such drift. Worth watching in the 8 h soak (connection or pair accumulation vs a one-off re-fetch).
Scripts and k6 summaries: session scratchpad quic-measure/ (k6 script variants differ from e2e/soak/k6-mesh-soak.js only in the target list and duration).
Next: phase C (five aether-proxy rolls under QUIC load on the #1048 build) for #1009's DC accounting, then the #979 decision.
Phase C (5 proxy rolls under the same 300 rps QUIC load, rev248) does not change the cost result above. The run surfaced two client-visible failures that are not cost: #1049 (first-use twin publish >5 s after an agent restart → 428 × 503 NC) and #1050 (a hot-restart successor wedge on one node → watchdog kill, ~55 s node-local outage, 56 prober failures). Both gate #979, the 1.18× ratio does not.
Activity
perf(quic): twins stop pooling per downstream connection, QUIC UDP of…
Merge origin/main into fix/quic-pairs-no-readmit
bpalermo commentedon Sep 28, 2026
Same-revision measurement, 2026-09-28, rev247 (1.0.3-799acda, GRO on the inbound QUIC listener, pool guard)
Two matched 80-min no-roll windows on the same build, same k6 arrival rate (5 loaders × 60 rps = 300 rps, constant-arrival-rate), only the target set changed:
aether-proxyCPU (Pyroscopeprocess_cpu, 5-min steps)Load placement verified: phase B ran 150 rps on each of
aether-test/svc-1@aether-test/defaultandsvc-2@…(the per-SA twins), 0 on the bare h2 clusters; phase A ran ~75 rps on each of the four h2 clusters.Per-request proxy CPU above idle (both proxies): A = 2.678 cores / 300 rps = 8.9 ms; B = 3.160 cores / 300 rps = 10.5 ms. h3 / h2 = 1.18× — under the ≤1.5× gate.
Caveats:
--east-west-quic-pair-fetch-windowboundary. Phase A had no such drift. Worth watching in the 8 h soak (connection or pair accumulation vs a one-off re-fetch).quic-measure/(k6 script variants differ frome2e/soak/k6-mesh-soak.jsonly in the target list andduration).Next: phase C (five aether-proxy rolls under QUIC load on the #1048 build) for #1009's DC accounting, then the #979 decision.
bpalermo commentedon Sep 28, 2026
Phase C (5 proxy rolls under the same 300 rps QUIC load, rev248) does not change the cost result above. The run surfaced two client-visible failures that are not cost: #1049 (first-use twin publish >5 s after an agent restart → 428 × 503 NC) and #1050 (a hot-restart successor wedge on one node → watchdog kill, ~55 s node-local outage, 56 prober failures). Both gate #979, the 1.18× ratio does not.
docs(038): the first proving soak did not pass; the #979 flip is gate…
feat(038): east-west QUIC is unconditional — the proving allow-list i…
bpalermo commentedon Sep 30, 2026
Closing with the verdict.
Remaining QUIC follow-ups have their own issues: #1086 (first-use 503 burst), #1087 (504 UT to a terminating endpoint while the source agent is down).