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

State machine for CC #4055

Merged
merged 20 commits into from Sep 8, 2020
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 5 additions & 5 deletions draft-ietf-quic-recovery.md
Expand Up @@ -815,21 +815,21 @@ ECN-CE count reported by its peer increases. A sender that is already in a
recovery period stays in it and does not re-enter it.
janaiyengar marked this conversation as resolved.
Show resolved Hide resolved

On entering a recovery period, a sender MUST set the slow start threshold to
the half the value of the congestion window at the moment that loss is
half the value of the congestion window at the moment that loss is
martinthomson marked this conversation as resolved.
Show resolved Hide resolved
detected. The congestion window MUST be set to the reduced value of the slow
start threshold before exiting the recovery period. Implementations MAY set the
ianswett marked this conversation as resolved.
Show resolved Hide resolved
congestion window immediately on entering a recovery period or use other
mechanisms, such as Proportional Rate Reduction ({{?PRR=RFC6937}}), to reduce
it more gradually.

The recovery period aims to limit congestion window reduction to once per round
trip. Therefore during a recovery period, the congestion window remains does
trip. Therefore during a recovery period, the congestion window does
not change in response to new losses or increases in the ECN-CE count.

A recovery period ends and the sender enters congestion avoidance when a packet
sent during the recovery period is acknowledged. This is slightly different
from TCP's definition of recovery, which ends when the lost packet that started
recovery is acknowledged.
from TCP's definition of recovery, which ends when the lost segment that started
recovery is acknowledged ({{?RFC5681}}).

When entering a recovery period, a single packet MAY be sent even if bytes in
flight now exceeds the recently reduced congestion window. This speeds up loss
Expand Down Expand Up @@ -1621,7 +1621,7 @@ reduces the slow start threshold and congestion window immediately.

~~~
OnCongestionEvent(sent_time):
// No reaction when recovery period.
// No reaction if already in a recovery period.
if (InCongestionRecovery(sent_time)):
return

Expand Down