aboutsummaryrefslogtreecommitdiff
path: root/proposals/324-rtt-congestion-control.txt
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@torproject.org>2022-08-10 22:13:38 +0000
committerDavid Goulet <dgoulet@torproject.org>2022-08-11 09:19:17 -0400
commit07c731e8362ef0b9d47a227249366afe38261bbf (patch)
treee36a4399964b8eccb6f298193edac9d80b326dce /proposals/324-rtt-congestion-control.txt
parent7c186cf1e562cd3bee84f7c35525204bd0bedf0c (diff)
downloadtorspec-07c731e8362ef0b9d47a227249366afe38261bbf.tar.gz
torspec-07c731e8362ef0b9d47a227249366afe38261bbf.zip
Prop 324: Document new `cc_ewma_ss` consensus parameter.
Diffstat (limited to 'proposals/324-rtt-congestion-control.txt')
-rw-r--r--proposals/324-rtt-congestion-control.txt17
1 files changed, 14 insertions, 3 deletions
diff --git a/proposals/324-rtt-congestion-control.txt b/proposals/324-rtt-congestion-control.txt
index 78d526d..0e8c349 100644
--- a/proposals/324-rtt-congestion-control.txt
+++ b/proposals/324-rtt-congestion-control.txt
@@ -169,10 +169,12 @@ Moving Average with alpha = 2/(N+1):
N_EWMA = BDP*2/(N+1) + N_EWMA_prev*(N-1)/(N+1).
-Flow control rate limiting uses this function
+Flow control rate limiting uses this function.
-For both RTT and SENDME BDP estimation, N is the number of SENDME acks
-between congestion window updates, divided by the value of consensus
+During Slow Start, N is set to `cc_ewma_ss`, for RTT estimation.
+
+After Slow Start, for both RTT and SENDME BDP estimation, N is the number
+of SENDME acks between congestion window updates, divided by the value of consensus
parameter 'cc_ewma_cwnd_pct', and then capped at a max of 'cc_ewma_max',
but always at least 2:
@@ -1293,6 +1295,15 @@ These are sorted in order of importance to tune, most important first.
congestion, to avoid overloading slow relays. Values of 10 or 20
were best.
+ cc_ewma_ss:
+ - Description: This specifies the N in N_EWMA smoothing of RTT during
+ Slow Start.
+ - Range: [2, INT32_MAX]
+ - Default: 2
+ - Tuning Values: [2,4]
+ - Shadow Tuning Results:
+ Setting this to 2 helped reduce overshoot during Slow Start.
+
cc_cwnd_inc:
- Description: How much to increment the congestion window by during
steady state, every cwnd.