All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 0/4] tcp: implement SACK compression
@ 2018-05-17 12:12 Eric Dumazet
  2018-05-17 12:12 ` [PATCH net-next 1/4] tcp: use __sock_put() instead of sock_put() in tcp_clear_xmit_timers() Eric Dumazet
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Eric Dumazet @ 2018-05-17 12:12 UTC (permalink / raw)
  To: David S . Miller
  Cc: netdev, Toke Høiland-Jørgensen, Neal Cardwell,
	Yuchung Cheng, Soheil Hassas Yeganeh, Eric Dumazet, Eric Dumazet

When TCP receives an out-of-order packet, it immediately sends
a SACK packet, generating network load but also forcing the
receiver to send 1-MSS pathological packets, increasing its
RTX queue length/depth, and thus processing time.

Wifi networks suffer from this aggressive behavior, but generally
speaking, all these SACK packets add fuel to the fire when networks
are under congestion.

This patch series adds SACK compression, but the infrastructure
could be leveraged to also compress ACK in the future.

Eric Dumazet (4):
  tcp: use __sock_put() instead of sock_put() in tcp_clear_xmit_timers()
  tcp: do not force quickack when receiving out-of-order packets
  tcp: add SACK compression
  tcp: add TCPAckCompressed SNMP counter

 include/linux/tcp.h       |  2 ++
 include/net/tcp.h         |  5 ++++-
 include/uapi/linux/snmp.h |  1 +
 net/ipv4/proc.c           |  1 +
 net/ipv4/tcp.c            |  1 +
 net/ipv4/tcp_input.c      | 33 +++++++++++++++++++++++++--------
 net/ipv4/tcp_output.c     |  9 +++++++++
 net/ipv4/tcp_timer.c      | 25 +++++++++++++++++++++++++
 8 files changed, 68 insertions(+), 9 deletions(-)

-- 
2.17.0.441.gb46fe60e1d-goog

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2018-05-17 17:15 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-17 12:12 [PATCH net-next 0/4] tcp: implement SACK compression Eric Dumazet
2018-05-17 12:12 ` [PATCH net-next 1/4] tcp: use __sock_put() instead of sock_put() in tcp_clear_xmit_timers() Eric Dumazet
2018-05-17 14:53   ` Neal Cardwell
2018-05-17 12:12 ` [PATCH net-next 2/4] tcp: do not force quickack when receiving out-of-order packets Eric Dumazet
2018-05-17 14:55   ` Neal Cardwell
2018-05-17 17:14   ` Soheil Hassas Yeganeh
2018-05-17 12:12 ` [PATCH net-next 3/4] tcp: add SACK compression Eric Dumazet
2018-05-17 15:14   ` Neal Cardwell
2018-05-17 15:40     ` Eric Dumazet
2018-05-17 15:46       ` Eric Dumazet
2018-05-17 16:41       ` Neal Cardwell
2018-05-17 16:59         ` Yuchung Cheng
2018-05-17 17:15           ` Yuchung Cheng
2018-05-17 17:15           ` Eric Dumazet
2018-05-17 12:12 ` [PATCH net-next 4/4] tcp: add TCPAckCompressed SNMP counter Eric Dumazet
2018-05-17 14:55   ` Neal Cardwell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.