Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ngtcp2] set max window size to 10x of initial (128KB), as the quiche backend does #15392

Closed
wants to merge 1 commit into from

Conversation

kazuho
Copy link
Contributor

@kazuho kazuho commented Oct 24, 2024

QUIC backends use flow control windows initially set to 128KB. In #14880, the maximum size used by the quiche backend was increased to 1280KB, but that of the ngtcp2 backend remained at 128KB.

With a window size of 128KB, the sustained maximum throughput with the ngtcp2 backend has been equivalent to TCP without the window scaling option (note: ngtcp2 sends MAX_STREAM_DATA when 1/2 the window is consumed, while TCP updates the window size with each ACK).

This PR changes the ngtcp2 backend to use the same maximum (1280KB) as the quiche backend does.

@github-actions github-actions bot added the HTTP/3 h3 or quic related label Oct 24, 2024
@bagder bagder requested a review from icing October 24, 2024 12:44
@bagder bagder closed this in b34b757 Oct 24, 2024
@bagder
Copy link
Member

bagder commented Oct 24, 2024

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

3 participants