-
- Downloads
tcp: refine pacing rate determination
When TCP pacing was added back in linux-3.12, we chose to apply a fixed ratio of 200 % against current rate, to allow probing for optimal throughput even during slow start phase, where cwnd can be doubled every other gRTT. At Google, we found it was better applying a different ratio while in Congestion Avoidance phase. This ratio was set to 120 %. We've used the normal tcp_in_slow_start() helper for a while, then tuned the condition to select the conservative ratio as soon as cwnd >= ssthresh/2 : - After cwnd reduction, it is safer to ramp up more slowly, as we approach optimal cwnd. - Initial ramp up (ssthresh == INFINITY) still allows doubling cwnd every other RTT. Signed-off-by:Eric Dumazet <edumazet@google.com> Cc: Neal Cardwell <ncardwell@google.com> Cc: Yuchung Cheng <ycheng@google.com> Acked-by:
Neal Cardwell <ncardwell@google.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- Documentation/networking/ip-sysctl.txt 15 additions, 0 deletionsDocumentation/networking/ip-sysctl.txt
- include/net/tcp.h 2 additions, 0 deletionsinclude/net/tcp.h
- net/ipv4/sysctl_net_ipv4.c 19 additions, 0 deletionsnet/ipv4/sysctl_net_ipv4.c
- net/ipv4/tcp_input.c 17 additions, 1 deletionnet/ipv4/tcp_input.c
Loading
Please register or sign in to comment