diff options
author | David Goulet <dgoulet@torproject.org> | 2023-01-10 16:17:25 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2023-01-10 16:17:25 -0500 |
commit | 0bacc73d6baee7c2dfd9a7a864163e26f6c121ef (patch) | |
tree | e8e57b9ee3e28b2eb6bd348b0c605789652c5f9a /proposals/324-rtt-congestion-control.txt | |
parent | 773fc9200046124e40f40f9367e0c94736353cac (diff) | |
parent | aab9efe13b3162db29e72d9364e30bc2955614ab (diff) | |
download | torspec-0bacc73d6baee7c2dfd9a7a864163e26f6c121ef.tar.gz torspec-0bacc73d6baee7c2dfd9a7a864163e26f6c121ef.zip |
Merge branch 'tor-gitlab/mr/83'
Diffstat (limited to 'proposals/324-rtt-congestion-control.txt')
-rw-r--r-- | proposals/324-rtt-congestion-control.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/proposals/324-rtt-congestion-control.txt b/proposals/324-rtt-congestion-control.txt index 7701230..952d140 100644 --- a/proposals/324-rtt-congestion-control.txt +++ b/proposals/324-rtt-congestion-control.txt @@ -169,7 +169,11 @@ reduce the effects of packet jitter. This smoothing is performed using N_EWMA[27], which is an Exponential Moving Average with alpha = 2/(N+1): - N_EWMA = BDP*2/(N+1) + N_EWMA_prev*(N-1)/(N+1). + N_EWMA = BDP*2/(N+1) + N_EWMA_prev*(N-1)/(N+1) + = (BDP*2 + N_EWMA_prev*(N-1))/(N+1). + +Note that the second rearranged form MUST be used in order to ensure that +rounding errors are handled in the same manner as other implementations. Flow control rate limiting uses this function. |