aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorstephen hemminger <[email protected]>2011-03-14 07:52:12 +0000
committerDavid S. Miller <[email protected]>2011-03-14 15:54:38 -0700
commitfebf081987ec445f071ed10b73e9707a88cc5cc4 (patch)
tree2afd0d3fba79620b889935b678ac8c024e10c19d /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parenta23c37f1110d8912d4d0a66e78197e9195bb36d4 (diff)
tcp: fix RTT for quick packets in congestion control
In the congestion control interface, the callback for each ACK includes an estimated round trip time in microseconds. Some algorithms need high resolution (Vegas style) but most only need jiffie resolution. If RTT is not accurate (like a retransmission) -1 is used as a flag value. When doing coarse resolution if RTT is less than a a jiffie then 0 should be returned rather than no estimate. Otherwise algorithms that expect good ack's to trigger slow start (like CUBIC Hystart) will be confused. Signed-off-by: Stephen Hemminger <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions