From 9765588787178c98226cd507f25d8d9a821fcb53 Mon Sep 17 00:00:00 2001 From: Alessandro Ghedini Date: Fri, 6 Dec 2019 17:15:12 +0000 Subject: [PATCH] Fix persistent congestion period calculation Should use times instead of packet numbers (also fix formatting). --- draft-ietf-quic-recovery.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/draft-ietf-quic-recovery.md b/draft-ietf-quic-recovery.md index 210eaf848a..4b504c756a 100644 --- a/draft-ietf-quic-recovery.md +++ b/draft-ietf-quic-recovery.md @@ -719,10 +719,12 @@ as follows: For example, assume: +~~~ smoothed_rtt = 1 rttvar = 0 max_ack_delay = 0 kPersistentCongestionThreshold = 3 +~~~ If an ack-eliciting packet is sent at time = 0, the following scenario would illustrate persistent congestion: @@ -735,7 +737,7 @@ illustrate persistent congestion: The first three packets are determined to be lost when the acknowlegement of packet 4 is received at t=8. The congestion period is calculated as the time -between the oldest and newest lost packets: (3 - 0) = 3. The duration for +between the oldest and newest lost packets: (7 - 0) = 7. The duration for persistent congestion is equal to: (1 * kPersistentCongestionThreshold) = 3. Because the threshold was reached and because none of the packets between the oldest and the newest packets are acknowledged, the network is considered to