141k views
4 votes
: Suppose that the four measured SampleRTT values are 100 ms,

200 ms, 150 ms, & 175 ms. Compute the EstimatedRTT after each
of these SampleRTT values is obtained, using a value of α=0.25 and
assu

User Michela
by
7.7k points

1 Answer

7 votes

Final answer:

The EstimatedRTT is computed using a formula involving the α value and the SampleRTT values. Each subsequent EstimatedRTT depends on the previous EstimatedRTT and the corresponding SampleRTT. The calculations for the EstimatedRTT values after each SampleRTT value has been obtained are provided.

Step-by-step explanation:

The EstimatedRTT is calculated using the formula:

EstimatedRTT = (1 - α) * EstimatedRTT + α * SampleRTT

Given α=0.25 and the measured SampleRTT values of 100 ms, 200 ms, 150 ms, and 175 ms, the EstimatedRTT after each SampleRTT value is obtained can be calculated as follows:

  1. For the first SampleRTT value of 100 ms:
    EstimatedRTT = (1 - 0.25) * EstimatedRTT + 0.25 * 100 ms
    EstimatedRTT = 0.75 * EstimatedRTT + 25 ms
  2. For the second SampleRTT value of 200 ms:
    EstimatedRTT = (1 - 0.25) * EstimatedRTT + 0.25 * 200 ms
    EstimatedRTT = 0.75 * (0.75 * EstimatedRTT + 25 ms) + 50 ms
  3. For the third SampleRTT value of 150 ms:
    EstimatedRTT = (1 - 0.25) * EstimatedRTT + 0.25 * 150 ms
    EstimatedRTT = 0.75 * (0.75 * (0.75 * EstimatedRTT + 25 ms) + 50 ms) + 37.5 ms
  4. For the fourth SampleRTT value of 175 ms:
    EstimatedRTT = (1 - 0.25) * EstimatedRTT + 0.25 * 175 ms
    EstimatedRTT = 0.75 * (0.75 * (0.75 * (0.75 * EstimatedRTT + 25 ms) + 50 ms) + 37.5 ms) + 43.75 ms

User Lumbendil
by
8.6k points