[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190125185320.164580-1-weiwan@google.com>
Date: Fri, 25 Jan 2019 10:53:18 -0800
From: Wei Wang <weiwan@...gle.com>
To: David Miller <davem@...emloft.net>, netdev@...r.kernel.org
Cc: Yuchung Cheng <ycheng@...gle.com>,
Neal Cardwell <ncardwell@...gle.com>,
Eric Dumazet <edumazet@...gle.com>,
Wei Wang <weiwan@...gle.com>
Subject: [PATCH net-next 0/2] tcp: change pingpong to 3 in delayed ack logic
TCP receiver today tries not to delay the ACKs to speed up the initial
slow start (a.k.a QUICK ACK mechanism). However the previous design
does not work well with modern TCP applications that starts with an
application-level handshake. For example, a HTTPs server often
receives the SSL hello and responds right away which triggers the TCP
stack to stop the quick ack and start delaying the ACKs based only one
instance of ping-pong. This patchset changes the threshold from 1 to 3
ping-pong transactions, so that we only start to delay the acks after
the receiver responds data quickly three times.
Wei Wang (2):
tcp: Refactor pingpong code
tcp: change pingpong threshold to 3
include/net/inet_connection_sock.h | 25 +++++++++++++++++++++++++
net/dccp/input.c | 2 +-
net/dccp/timer.c | 4 ++--
net/ipv4/tcp.c | 10 +++++-----
net/ipv4/tcp_input.c | 8 ++++----
net/ipv4/tcp_ipv4.c | 2 +-
net/ipv4/tcp_output.c | 17 ++++++++++-------
net/ipv4/tcp_timer.c | 4 ++--
net/ipv6/tcp_ipv6.c | 2 +-
9 files changed, 51 insertions(+), 23 deletions(-)
--
2.20.1.321.g9e740568ce-goog
Powered by blists - more mailing lists