]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: start receiver buffer autotuning sooner
authorYuchung Cheng <ycheng@google.com>
Mon, 1 Oct 2018 22:42:32 +0000 (15:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Oct 2018 22:45:26 +0000 (15:45 -0700)
commitb4cb5efdae6b7391efba9c4f50c5cdc598aa1420
treef8d3b9657bb73d266c5ccc9428cc74cd2dbb54f3
parent624d4ae2a745db1124fba38c161b84c62494b786
tcp: start receiver buffer autotuning sooner

Previously receiver buffer auto-tuning starts after receiving
one advertised window amount of data. After the initial receiver
buffer was raised by patch d93d19ae1e7d ("tcp: up initial rmem to
128KB and SYN rwin to around 64KB"), the reciver buffer may take
too long to start raising. To address this issue, this patch lowers
the initial bytes expected to receive roughly the expected sender's
initial window.

Fixes: d93d19ae1e7d ("tcp: up initial rmem to 128KB and SYN rwin to around 64KB")
Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Wei Wang <weiwan@google.com>
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Soheil Hassas Yeganeh <soheil@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_input.c