 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
n |
Jacobson/Karels
Algorithm
|
|
n |
New
calculation for average RTT
|
|
|
|
– |
Diff
= SampleRTT - EstimatedRTT
|
|
|
– |
EstimatedRTT
= EstimatedRTT + ( x Diff)
|
|
|
– |
Deviation
= Deviation + (|Diff|- Deviation)
|
|
|
– |
where
is a fraction between 0 and 1
|
|
|
n |
Consider
variance when setting timeout value
|
|
|
– |
TimeOut
= x EstimatedRTT + x Deviation
|
|
|
– |
where
= 1 and = 4
|
|
n |
Notes
|
|
|
|
– |
algorithm
only as good as granularity of clock (500ms on Unix)
|
|
– |
accurate
timeout mechanism important to congestion control
|
|