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

introduce tx_cap factor #1921

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

introduce tx_cap factor #1921

wants to merge 1 commit into from

Conversation

ghedo
Copy link
Member

@ghedo ghedo commented Jan 23, 2025

Currently we buffer outgoing data up to min(cwnd, flow_control), but this can be lead to starving a connection while waiting for additional data from the application.

This change adds a configuration option to change the send capacity "factor", that is multiplied to the existing send capacity calculation (so e.g. instead of min(cwnd, flow_control) once could change that to 2 * min(cwnd, flow_control)).

Making this configurable rather than a fixed value lets application experiment with different values depending on their needs.

@ghedo ghedo requested a review from a team as a code owner January 23, 2025 12:45
Currently we buffer outgoing data up to `min(cwnd, flow_control)`, but
this can be lead to starving a connection while waiting for additional
data from the application.

This change adds a configuration option to change the send capacity
"factor", that is multiplied to the existing send capacity calculation
(so e.g. instead of `min(cwnd, flow_control)` once could change that to
`2 * min(cwnd, flow_control)`).

Making this configurable rather than a fixed value lets application
experiment with different values depending on their needs.
@ghedo ghedo force-pushed the tx-cap-multiplier branch from 085daa5 to bc46b56 Compare January 23, 2025 12:49
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