]> 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)
commit469aa3b235ad7c73dbaa8c2be0360c25b897a2fa
tree738a49bca485840679c8b140feaa99aa956a94ac
parent89f9a40b26c09cbdab28aa9b193cff1816d4efcb
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