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

add L4S / Prague support #4002

Open
marten-seemann opened this issue Jul 29, 2023 · 0 comments
Open

add L4S / Prague support #4002

marten-seemann opened this issue Jul 29, 2023 · 0 comments
Labels

Comments

@marten-seemann
Copy link
Member

marten-seemann commented Jul 29, 2023

https://datatracker.ietf.org/doc/draft-briscoe-iccrg-prague-congestion-control/


Notes from reading the draft:

$\alpha$ is EWMA (exponentially weighted moving average) of the ECN marking fraction, and is updated once per $\text{rtt\_virt}$: $\alpha = g * (\text{frac} - \alpha)$, where $g$ is the gain (usually 1/16), and $\text{frac}$ is the fraction of acknowledged packets that carried ECN feedback over the previous $\text{rtt\_virt}$. It's a value between 0 and 1.

On ECN feedback, the slow start threshold $\text{ssthresh}$ is:
$\text{ssthresh} = (1 - \frac{\alpha}{2}) \cdot \text{cwnd}$

On each ACK:
$\text{cwnd} += (\text{acked\_sacked} - \text{ece\_delta}) \cdot \frac{\text{ai\_per\_rtt}}{\text{cwnd}}$

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

No branches or pull requests

1 participant