10 ms·
10 seconds in this code. static u32 bbr_min_rtt_win_sec = 10; /* min RTT filter window (in sec) */ The code also uses a moving average over 10 round trip
by Animats 10y ago
10 seconds in this code.
static u32 bbr_min_rtt_win_sec = 10; /* min RTT filter window (in sec) */
The code also uses a moving average over 10 round trips. So that's what the filter needs to get a stable estimate. A point in the paper [1] is that this method is said to work well for maintained TCP connections with idle periods. That means HTTP/2 in practice.
It would be interesting to see test data on this for large numbers of real connections. How much do bandwidth and delay vary in practice across ISP links, cable headends, and cellular links?
[1] http://caia.swin.edu.au/cv/dahayes/content/networking2011-cdg-preprint.pdf http://caia.swin.edu.au/cv/dahayes/content/networking2011-cd...
- apenwarr 10y agoThe averaging period says more about how fast they expect min_rtt to change than how long it takes to calculate it. If the rtt is fairly stable, that measurement could be accurate much sooner than 10s. Super short lived sessions can really only go faster with tricks like increasing the initcwnd. Anything longer than that, I'd expect bbr to work well.