diff options
author | Kenneth Klette Jonassen <[email protected]> | 2015-05-01 01:10:58 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2015-05-03 23:18:01 -0400 |
commit | 31231a8a873026410eab438c5757430546a517d1 (patch) | |
tree | 4855955195a530170508350262fa19d52afafbcc /tools/perf/scripts/python/futex-contention.py | |
parent | 196da974758550a3933c8b0244ef98148df10552 (diff) |
tcp: improve RTT from SACK for CC
tcp_sacktag_one() always picks the earliest sequence SACKed for RTT.
This might not make sense for congestion control in cases where:
1. ACKs are lost, i.e. a SACK following a lost SACK covers both
new and old segments at the receiver.
2. The receiver disregards the RFC 5681 recommendation to immediately
ACK out-of-order segments.
Give congestion control a RTT for the latest segment SACKed, which is the
most accurate RTT estimate, but preserve the conservative RTT for RTO.
Removes the call to skb_mstamp_get() in tcp_sacktag_one().
Cc: Yuchung Cheng <[email protected]>
Cc: Eric Dumazet <[email protected]>
Signed-off-by: Kenneth Klette Jonassen <[email protected]>
Acked-by: Yuchung Cheng <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions