CS FundamentalsHardGATE CS

A TCP sender estimates the round-trip time with SRTT = (7/8)SRTT + (1/8)R and RTTVAR = (3/4)RTTVAR + (1/4)|SRTT - R| (RTTVAR updated first, using the old SRTT), and RTO = SRTT + 4 RTTVAR. The first RTT sample R = 100 ms initialises SRTT = 100 ms and RTTVAR = 50 ms. Three more samples arrive: 140 ms, 80 ms and 220 ms. Ignoring any minimum RTO, what is the RTO after the fourth sample?

  1. A. 360.4 ms
  2. B. 340.5 ms
  3. C. 420.4 ms
  4. D. 238.5 ms

Correct answer: A. 360.4 ms

After 140 ms: RTTVAR = 47.5, SRTT = 105. After 80 ms: RTTVAR = 41.88, SRTT = 101.88. After 220 ms: RTTVAR = 60.94 and SRTT = 116.64, so RTO = 116.64 + 4 x 60.94 = 360.4 ms. Updating SRTT before RTTVAR gives 340.5 ms.

More Computer Networks questions

Exams that ask this topic