Re: [PATCH v2 net-next 3/6] tcp: add SACK compression

2018-05-17 Thread Eric Dumazet
On 05/17/2018 10:47 AM, Eric Dumazet wrote: > + /* compress ack timer : 5 % of srtt, but no more than 1 ms */ > + > + delay = min_t(unsigned long, NSEC_PER_MSEC, > + tp->rcv_rtt_est.rtt_us * (NSEC_PER_USEC >> 3)/20); > Yuchung suggested that we use min(rtt, rcv_rtt), a

[PATCH v2 net-next 3/6] tcp: add SACK compression

2018-05-17 Thread 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