Skip to content

Fix Mac Intel H3 c=64 cliff vs YARP - #1027

Merged
justcoding121 merged 1 commit into
developfrom
fix/mac-h3-c64-cliff
Sep 9, 2026
Merged

Fix Mac Intel H3 c=64 cliff vs YARP#1027
justcoding121 merged 1 commit into
developfrom
fix/mac-h3-c64-cliff

Conversation

@justcoding121

Copy link
Copy Markdown
Owner

Summary

  • Skip redundant CompleteWrites() after STREAM+FIN + Darwin-safe FlushAsync on H3 client/origin paths.
  • Soft-grow QuicConnectionPool to up to 4 shared origin QUIC connections when in-flight streams hit SoftGrow=32 (H3→H3 fan-in under scarce cores).

Test plan

  • Unit: QuicConnectionPoolTests (share, soft-grow, cap)
  • Local cool H3→H1 TLS: RPS(c=64) ≥ RPS(c=32), ≈YARP
  • Local cool H3→H3: RPS(c=64) ≥ RPS(c=32) (flat; SoftGrow=16 regressed absolute RPS)
  • GHA compare-spot @ fix/mac-h3-c64-cliff run 34390832577 (macos-15-intel + Win/Linux)

Darwin-safe Flush stays; skip a second FIN when completeWrites:true already
closed the QuicStream write side so Mac Intel H3 reverse arms stop rolling
over at c=64 vs YARP.
@sonarqubecloud

sonarqubecloud Bot commented Sep 9, 2026

Copy link
Copy Markdown

@justcoding121
justcoding121 merged commit 68ab49a into develop Sep 9, 2026
17 checks passed
@justcoding121
justcoding121 deleted the fix/mac-h3-c64-cliff branch September 9, 2026 22:39
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