[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240418214600.1291486-1-edumazet@google.com>
Date: Thu, 18 Apr 2024 21:45:57 +0000
From: Eric Dumazet <edumazet@...gle.com>
To: "David S . Miller" <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>
Cc: netdev@...r.kernel.org, Neal Cardwell <ncardwell@...gle.com>,
Kevin Yang <yyd@...gle.com>, eric.dumazet@...il.com, Eric Dumazet <edumazet@...gle.com>
Subject: [PATCH net-next 0/3] tcp: avoid sending too small packets
tcp_sendmsg() cooks 'large' skbs, that are later split
if needed from tcp_write_xmit().
After a split, the leftover skb size is smaller than the optimal
size, and this causes a performance drop.
In this series, tcp_grow_skb() helper is added to shift
payload from the second skb in the write queue to the first
skb to always send optimal sized skbs.
This increases TSO efficiency, and decreases number of ACK
packets.
Eric Dumazet (3):
tcp: remove dubious FIN exception from tcp_cwnd_test()
tcp: call tcp_set_skb_tso_segs() from tcp_write_xmit()
tcp: try to send bigger TSO packets
net/ipv4/tcp_output.c | 78 +++++++++++++++++++++++++++++--------------
1 file changed, 53 insertions(+), 25 deletions(-)
--
2.44.0.769.g3c40516874-goog
Powered by blists - more mailing lists