Skip to content

Commit

Permalink
kLossReductionFactor
Browse files Browse the repository at this point in the history
  • Loading branch information
ianswett committed Jan 8, 2021
1 parent 747f2df commit ce76342
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions draft-ietf-quic-recovery.md
Original file line number Diff line number Diff line change
Expand Up @@ -1656,8 +1656,8 @@ kMinimumWindow:
: Minimum congestion window in bytes as described in {{initial-cwnd}}.

kLossReductionFactor:
: Reduction in congestion window when a new loss event is detected.
{{congestion-control}} recommends a value is 0.5.
: Scaling factor applied to reduce the congestion window when a new loss event
is detected. {{congestion-control}} recommends a value is 0.5.

kPersistentCongestionThreshold:
: Period of time for persistent congestion to be established, specified as a PTO
Expand Down Expand Up @@ -1786,7 +1786,7 @@ OnCongestionEvent(sent_time):

// Enter recovery period.
congestion_recovery_start_time = now()
ssthresh = congestion_window * (1 - kLossReductionFactor)
ssthresh = congestion_window * kLossReductionFactor
congestion_window = max(ssthresh, kMinimumWindow)
// A packet can be sent to speed up loss recovery.
MaybeSendOnePacket()
Expand Down

0 comments on commit ce76342

Please sign in to comment.