]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: avoid min-RTT overestimation from delayed ACKs
authorYuchung Cheng <ycheng@google.com>
Wed, 17 Jan 2018 20:11:00 +0000 (12:11 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Jan 2018 20:39:30 +0000 (15:39 -0500)
commit302b4d05988286c6dad120bc7d2ecb667427e953
tree738a49bca485840679c8b140feaa99aa956a94ac
parent7f808b02331fa096522389ee67de91f1c4b08636
tcp: avoid min-RTT overestimation from delayed ACKs

This patch avoids having TCP sender or congestion control
overestimate the min RTT by orders of magnitude. This happens when
all the samples in the windowed filter are one-packet transfer
like small request and health-check like chit-chat, which is farily
common for applications using persistent connections. This patch
tries to conservatively labels and skip RTT samples obtained from
this type of workload.

Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Soheil Hassas Yeganeh <soheil@google.com>
Acked-by: Neal Cardwell <ncardwell@google.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_input.c