Retransmission Timers and RTT Variation

Use a smoothed round-trip estimate and variation margin to set a timeout without treating every delay increase as loss.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Varying delay needs a margin around the estimate
  2. An acknowledgment can have ambiguous origin

Varying delay needs a margin around the estimate

A retransmission policy can track a smoothed round-trip time and a smoothed variation estimate. RFC 6298 combines them with clock granularity and a variation multiplier. With smoothed RTT 0.5 seconds, variation 0.2 seconds and fine timer granularity, the basic formula gives \(0.5+4(0.2)=1.3\) seconds before applying other specified limits. A variable network can need a longer margin to avoid repeated unnecessary retransmissions.

An acknowledgment can have ambiguous origin

After a segment is resent, its acknowledgment may correspond to the original or the retransmitted copy. Treating either as an ordinary RTT measurement can bias the estimate unless the protocol supplies a way to disambiguate it. Timeout backoff and loss recovery affect network load as well as delivery. Sliding windows explain what material remains outstanding. Congestion control governs how sending responds to congestion signals.[1][2]

References

  1. IETF, RFC 6298: Computing TCP’s Retransmission Timer ↩
  2. IETF, RFC 9293: Transmission Control Protocol ↩