From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: [PATCH net-next 0/4] tcp: implement SACK compression Date: Thu, 17 May 2018 05:12:09 -0700 Message-ID: <20180517121213.43559-1-edumazet@google.com> Cc: netdev , =?UTF-8?q?Toke=20H=C3=B8iland-J=C3=B8rgensen?= , Neal Cardwell , Yuchung Cheng , Soheil Hassas Yeganeh , Eric Dumazet , Eric Dumazet To: "David S . Miller" Return-path: Received: from mail-pl0-f67.google.com ([209.85.160.67]:42585 "EHLO mail-pl0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750779AbeEQMMV (ORCPT ); Thu, 17 May 2018 08:12:21 -0400 Received: by mail-pl0-f67.google.com with SMTP id u6-v6so2432523pls.9 for ; Thu, 17 May 2018 05:12:21 -0700 (PDT) Sender: netdev-owner@vger.kernel.org List-ID: 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