Question

A host starts a TCP transmission with an EstimatedRTT of 36.3ms (from the “handshake”). The host...

A host starts a TCP transmission with an EstimatedRTT of 36.3ms (from the “handshake”). The host then sends 3 packets and records the RTT for each:

SampleRTT1 = 49.5 ms

SampleRTT2 = 15.8 ms

SampleRTT3 = 27.1 ms

(NOTE: SampleRTT1 is the “oldest”; SampleRTT3 is the most recent.)

Using an exponential weighted moving average with a weight of 0.4 given to the most recent sample, what is the EstimatedRTT for packet #4? Give answer in miliseconds, rounded to one decimal place, without units, so for an answer of 0.01146 seconds, you would enter "11.5" without the quotes.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Solution:

Given,

=>EstimatedRTT1 = 36.3 ms

=>Host sends 3 packets with the following SampleRTT's

SampleRTT1 = 49.5 ms

SampleRTT2 = 15.8 ms

SampleRTT3 = 27.1 ms

=>Weight(\alpha) = 0.4

Explanation:

=>We know that, new EstimatedRTT = (1-\alpha)*Previous EstimatedRTT + \alpha *SampleRTT

Calculating EstimatedRTT for packet 2:

=>EstimatedRTT2 = (1-\alpha)*EstimatedRTT1 + \alpha *SampleRTT1

=>EstimatedRTT2 = (1-0.4)*36.3 ms + 0.4*49.5 ms

=>EstimatedRTT2 =0.6*36.3 ms + 0.4*49.5 ms

=>EstimatedRTT2 =21.78 ms + 19.8 ms

=>EstimatedRTT2 = 41.58 ms

Calculating EstimatedRTT for packet 3:

=>EstimatedRTT3 = (1-\alpha)*EstimatedRTT2 + \alpha *SampleRTT2

=>EstimatedRTT3 = (1-0.4)*41.58 ms + 0.4*15.8 ms

=>EstimatedRTT3 = 0.6*41.58 ms + 0.4*15.8 ms

=>EstimatedRTT3 = 24.948 ms + 6.32 ms

=>EstimatedRTT3 = 31.268 ms

Calculating EstimatedRTT for packet 4:

=>EstimatedRTT4 = (1-\alpha)*EstimatedRTT3 + \alpha *SampleRTT3

=>EstimatedRTT4 = (1-0.6)*31.268 ms + 0.4*27.1 ms

=>EstimatedRTT4 = 0.4*31.268 ms + 0.4*27.1 ms

=>EstimatedRTT4 = 12.5072 ms + 10.84 ms

=>EstimatedRTT4 = 23.3472 ms

Rounding off the EstimatedRTT for packet 4 to one decimal place:

=>EstimatedRTT4 = 23.3 ms

=>Hence answer = 23.3

I have explained each and every part with the help of statements attached to it.

Add a comment
Know the answer?
Add Answer to:
A host starts a TCP transmission with an EstimatedRTT of 36.3ms (from the “handshake”). The host...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • A host starts a TCP transmission with an EstimatedRTT of 36.3ms (from the “handshake”). The host...

    A host starts a TCP transmission with an EstimatedRTT of 36.3ms (from the “handshake”). The host then sends 3 packets and records the RTT for each: SampleRTT1 = 49.5 ms SampleRTT2 = 15.8 ms SampleRTT3 = 27.1 ms (NOTE: SampleRTT1 is the “oldest”; SampleRTT3 is the most recent.) Using an exponential weighted moving average with a weight of 0.4 given to the most recent sample, what is the EstimatedRTT for packet #4? Give answer in miliseconds, rounded to one decimal...

  • A host starts a TCP transmission with an Estimated RTT of 21.6ms (from the "handshake"). The...

    A host starts a TCP transmission with an Estimated RTT of 21.6ms (from the "handshake"). The host then sends 3 packets and records the RTT for each: SampleRTT1 = 11.6 ms SampleRTT2 = 10.6 ms SampleRTT3 = 34.1 ms (NOTE: SampleRTT1 is the "oldest"; SampleRTT3 is the most recent.) Using an exponential weighted moving average with a weight of 0.4 given to the most recent sample, what is the EstimatedRTT for packet #4? Give answer in milliseconds, rounded to one...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT