1. 21 5月, 2018 10 次提交
  2. 20 5月, 2018 11 次提交
  3. 19 5月, 2018 17 次提交
  4. 18 5月, 2018 2 次提交
    • D
      Merge branch 'tcp-implement-SACK-compression' · 2c47a65b
      David S. Miller 提交于
      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: NDavid S. Miller <davem@davemloft.net>
      2c47a65b
    • E
      tcp: add tcp_comp_sack_nr sysctl · 9c21d2fc
      Eric Dumazet 提交于
      This per netns sysctl allows for TCP SACK compression fine-tuning.
      
      This limits number of SACK that can be compressed.
      Using 0 disables SACK compression.
      Signed-off-by: NEric Dumazet <edumazet@google.com>
      Acked-by: NNeal Cardwell <ncardwell@google.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      9c21d2fc