]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'tcp-implement-SACK-compression'
authorDavid S. Miller <davem@davemloft.net>
Fri, 18 May 2018 15:40:28 +0000 (11:40 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 May 2018 15:40:28 +0000 (11:40 -0400)
commit02311332a84f47fd9f8793fa1093c6ef5d38b0ec
treed2a2dfb4516b8fb0d8fe13e7c3bfa0eda2064d0d
parent237cc3981051f560437d1ff3e9ae12bc7c908632
parent64de30e705b95107590889c8f3ffdbec19d4b230
Merge branch 'tcp-implement-SACK-compression'

Eric Dumazet says:

====================
tcp: implement SACK compression

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.

v2: Addressed Neal feedback.
    Added two sysctls to allow fine tuning, or even disabling the feature.

v3: take rtt = min(srtt, rcv_rtt) as Yuchung suggested, because rcv_rtt
    can be over estimated for RPC (or sender limited)
====================

Signed-off-by: David S. Miller <davem@davemloft.net>