CS FundamentalsVery hardGATE CS

TCP smooths RTT samples with EstimatedRTT ← 0.875 × EstimatedRTT + 0.125 × Sample. The true RTT jumps from 100 ms to 200 ms and stays there. After how many samples does the estimate first reach at least 190 ms?

  1. A. 8
  2. B. 17
  3. C. 10
  4. D. 18

Correct answer: D. 18

After n samples the estimate covers 1 − 0.875ⁿ of the jump. We need 0.875ⁿ ≤ 0.1, so n ≥ ln 0.1 / ln 0.875 ≈ 17.2, i.e. 18 samples (17 gives about 189.7 ms). 8 = 1/0.125 is the 'time constant' guess.

More Computer Networks questions

Exams that ask this topic