linux/Documentation
Eric Dumazet 43e122b014 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>
2015-08-25 11:33:54 -07:00
..
2015-07-17 16:39:53 -07:00
2015-06-24 20:01:36 -07:00
2015-08-23 20:42:57 -07:00
2015-06-24 20:01:36 -07:00
2015-07-01 16:26:08 +02:00
2015-06-08 16:43:09 -06:00
2014-12-10 17:41:10 -08:00
2015-02-11 13:03:11 -08:00
2015-06-26 14:51:15 -07:00
2015-06-25 17:00:38 -07:00
2014-06-11 08:35:34 -07:00
2015-06-08 23:15:45 +02:00
2015-06-26 11:23:38 -04:00
2015-06-22 09:59:28 -06:00
2015-06-24 20:01:36 -07:00
2015-05-13 15:39:04 -04:00
2015-06-26 15:59:26 -07:00
2015-06-25 17:00:37 -07:00
2015-07-02 11:08:50 +02:00
2015-06-24 20:01:36 -07:00
2015-02-27 11:44:24 -08:00
2015-05-29 17:21:45 -05:00
2015-06-24 18:17:40 +02:00
2014-12-08 09:07:11 -05:00
2015-06-23 06:49:44 -06:00
2014-09-23 23:44:16 -07:00