Question

In: Computer Science

Suppose that TCP's current estimated values for the round-trip time (estimatedRTT) and deviation in the RTT...

Suppose that TCP's current estimated values for the round-trip time (estimatedRTT) and deviation in the RTT (DevRTT) are 300 msec and 35 msec, respectively. Suppose that the next three measured values of the RTT are 250 msec, 200 msec, and 330 msec respectively.

Compute TCP's new value of DevRTT, estimatedRTT, and the TCP timeout value after each of these three measured RTT values is obtained. Use the values of α = 0.125, and β = 0.25.

Solutions

Expert Solution

EstimateRTT = (1-alpha) * estimatedRTT-prev + alpha * SampleRTT

DevRTT = (1-beta) * DevRTT-prev + beta * | SampleRTT - EstimatedRTT |

timeout = EstimatedRTT + 4*DevRTT

EstimatedRTT -> for current iteration

EstimatedRTT-prev -> for previous iteration

DevRTT -> for current iteration

DevRTT-prev -> for previous iteration

SampleRTT -> this is measured RTT values on each iteration

timeout -> this is timeout value based on RTT (round-trip-time)

at the beginning we have estimatedRTT = 300 ms, DevRTT = 35 ms , alpha = 0.125, beta = 0.25

1) for first measurement (iteration - 1) SampleRTT = 250 ms

EstimateRTT = (1-0.125) * 300 + 0.125 * 250 = 293.75 ms

DevRTT = (1-0.25) * 35 + 0.25 * | 250 - 293.75 | = 37.1875 ms

timeout = 293.75 + 4 * 37.1875 = 442.5 ms

2) for second measurement (iteration - 2) SampleRTT = 200 ms

EstimateRTT = (1-0.125) * 293.75 + 0.125 * 200 = 282.03125 ms

DevRTT = (1-0.25) * 37.1875 + 0.25 * | 200 - 282.03125 | = 48.3984375 ms

timeout =282.03125 + 4 *  48.3984375 = 475.625 ms

3) for third measurement (iteration - 3) SampleRTT = 330 ms

EstimateRTT = (1-0.125) * 282.03125 + 0.125 * 330 = 288.02734375 ms

DevRTT = (1-0.25) * 48.3984375 + 0.25 * | 330 - 288.02734375 | = 46.791992187 ms

timeout = 288.02734375 + 4 *  46.791992187 = 475.1953125 ms


Related Solutions

Question 3 - Suppose that TCP's current estimated values for the round-trip time (estimated RTT) and...
Question 3 - Suppose that TCP's current estimated values for the round-trip time (estimated RTT) and deviation in the RTT (DevRTT) are 300 msec and 35 msec, respectively. Suppose that the next three measured values of the RTT are 250 msec, 200 msec, and 330 msec respectively. Compute TCP's new value of DevRTT, estimated RTT, and the TCP timeout value after each of these three measured RTT values is obtained. Use the values of α = 0.125, and β =...
What is the round-trip travel time of light from Earth to Neptune (at a distance of...
What is the round-trip travel time of light from Earth to Neptune (at a distance of 30 AU)? How far would a spacecraft orbiting the planet at a speed of 0.5 km/s travel during that time? How far would a spacecraft orbiting the planet at a speed of 0.5 km/skm/s travel during that time?
Statistics)) 1.The Round-trip-time between the college and home for a student is normally distributed with a...
Statistics)) 1.The Round-trip-time between the college and home for a student is normally distributed with a mean of 47 min and a standard deviation of 4.6 min. To one-decimal place, what Round-trip-time would be considered the 70th percentile? Make sure to include units. 2.A recent study showed that the average amount of time spent doing part time job by students at a college is 29 hours per week with a standard deviation of 3.8 hours. If 64 students were selected...
Captain Sarfo is examining the trip manifest for round trip for his personnel carrier, and is...
Captain Sarfo is examining the trip manifest for round trip for his personnel carrier, and is trying to plan how much food to bring. His typical run goes from Ganymede station to Mars. As such, he flies Martians almost exclusively, and  plans his trips by approximating food consumption using passenger height. Since transporting excess weight increases fuel costs significantly, Captain Sarfo relies heavily on the accuracy of this prediction (going over or under is very undesirable). Today, there is a conference...
Construct the confidence interval for the population standard deviation for the given values. Round your answers...
Construct the confidence interval for the population standard deviation for the given values. Round your answers to one decimal place. n = 3, s = 7.1, and c = 0.98
Construct the confidence interval for the population standard deviation for the given values. Round your answers...
Construct the confidence interval for the population standard deviation for the given values. Round your answers to one decimal place. n=20, s=3.9, and c=0.8
Construct the confidence interval for the population standard deviation for the given values. Round your answers...
Construct the confidence interval for the population standard deviation for the given values. Round your answers to one decimal place. n=6, s=3.8, and c=0.98
Construct the confidence interval for the population standard deviation for the given values. Round your answers...
Construct the confidence interval for the population standard deviation for the given values. Round your answers to one decimal place. n=6, s=3.7, and c=0.98
Construct the confidence interval for the population standard deviation for the given values. Round your answers...
Construct the confidence interval for the population standard deviation for the given values. Round your answers to one decimal place. n=5, s=4.3, and c=0.95
Construct the confidence interval for the population standard deviation for the given values. Round your answers...
Construct the confidence interval for the population standard deviation for the given values. Round your answers to one decimal place. n=20, s=4.2, and c=0.99
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT