aboutsummaryrefslogtreecommitdiff
path: root/proposals/324-rtt-congestion-control.txt
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@torproject.org>2023-01-10 20:53:57 +0000
committerMike Perry <mikeperry-git@torproject.org>2023-01-10 20:53:57 +0000
commitc2e057a7c39d0dc63a54fe77dfbefa2f3f86d533 (patch)
tree20859fcea4780a06a5b8e2bf185e42049647cc50 /proposals/324-rtt-congestion-control.txt
parente9598b11633cc09c95323e230f5fd5f007c1483c (diff)
downloadtorspec-c2e057a7c39d0dc63a54fe77dfbefa2f3f86d533.tar.gz
torspec-c2e057a7c39d0dc63a54fe77dfbefa2f3f86d533.zip
Prop 324: RTT should only be reset after slow start.
Diffstat (limited to 'proposals/324-rtt-congestion-control.txt')
-rw-r--r--proposals/324-rtt-congestion-control.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/proposals/324-rtt-congestion-control.txt b/proposals/324-rtt-congestion-control.txt
index 4937744..fd79cbd 100644
--- a/proposals/324-rtt-congestion-control.txt
+++ b/proposals/324-rtt-congestion-control.txt
@@ -389,12 +389,12 @@ Simplifying:
BDP = cwnd * RTT_min / RTT_current_ewma
-The RTT_min for this calculation comes from the minimum RTT_current_ewma
-seen in the lifetime of this circuit. If the congestion window falls to
-`cc_cwnd_min`, implementations MAY choose to reset RTT_min for use in this
-calculation to either the RTT_current_ewma, or a percentile-weighted average
-between RTT_min and RTT_current_ewma, specified by `cc_rtt_reset_pct`. This
-helps with escaping starvation conditions.
+The RTT_min for this calculation comes from the minimum RTT_current_ewma seen
+in the lifetime of this circuit. If the congestion window falls to
+`cc_cwnd_min` after slow start, implementations MAY choose to reset RTT_min
+for use in this calculation to either the RTT_current_ewma, or a
+percentile-weighted average between RTT_min and RTT_current_ewma, specified by
+`cc_rtt_reset_pct`. This helps with escaping starvation conditions.
The net effect of this estimation is to correct for any overshoot of
the cwnd over the actual BDP. It will obviously underestimate BDP if cwnd