Question

How does TCP estimate round-trip-times (RTT) despite it being impossible to measure one way latency on...

How does TCP estimate round-trip-times (RTT) despite it being impossible to measure
one way latency on the Internet? Expand on the idea of EWMA and it’s application to
RTT estimation.

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

For every packet TCP sender starts a timer and stops it when it receives Acknowledge of that packet, It then calculate time elapsed ( i.e time between sending packet and receiving ACK) and save it as SampleRTT. Since network condition changes with time, SampleRTT value also changes with time.

EWMA ( Exponential Weighted Moving Average) also called EstimatedRTT, is calculated using previous RTT ( Previous EstimatedRTT) and current RTT ( SampleRTT) using below equation:

EstimatedRTT = (1 - a) * EstimatedRTT + a * SampleRTT.

(normally a = 0.125)

EWMA means more recent RTT values are given more importance than previous RTT values.

With the help current EstimatedRTT, deviation in RTT is calculated using below equation:

DevRTT = (1-b) * DevRTT + b * | SampleRTT - EstimatedRTT |

here | sampleRTT - EstimatedRTT | = modulus of difference between past RTT and current RTT

also normally b = 0.25

Given these two averages ( i.e EstimatedRTT and DevRTT ) one can calculate Timoutout value for next timer with equation

Timeout = EstimatedRTT + 4 * DevRTT

i.e Next timeout value should be atleast current EstimatedRTT plus deviation. If deviation is less timeoit will be nearly costant.

Add a comment
Know the answer?
Add Answer to:
How does TCP estimate round-trip-times (RTT) despite it being impossible to measure one way latency on...
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
  • What is the Cost of Equity? Provide a definition, and suggest least one way that we can estimate it. How does this measure reflect risk, and what will make it change? b. What is the Cost of Debt? P...

    What is the Cost of Equity? Provide a definition, and suggest least one way that we can estimate it. How does this measure reflect risk, and what will make it change? b. What is the Cost of Debt? Provide a definition, and suggest least one way that we can estimate it. How does this measure reflect risk, and what will make it change?

  • I need help with this assignment, please; Programming Assignment 3: UDP Pinger Lab In this lab,...

    I need help with this assignment, please; Programming Assignment 3: UDP Pinger Lab In this lab, you will study a simple Internet ping server written in the Java language, and implement a corresponding client. The functionality provided by these programs is similar to the standard ping programs available in modern operating systems, except that they use UDP rather than Internet Control Message Protocol (ICMP) to communicate with each other. (Java does not provide a straightforward means to interact with ICMP.)...

  • Can you answer only question 5and 6 Questions: 1. How could the promotion of UK Hoover...

    Can you answer only question 5and 6 Questions: 1. How could the promotion of UK Hoover have been better designed? Be as specific as you can. 2. Given the fiasco that did occur, how do you think Maytag should have responded? 3. Comment on the following statement: “Firing the three top executives of UK Hoover is unconscionable. It smacks of a vendetta against European managers by an American parent. After all, their only ‘crime’ was a promotion that was too...

  • i will give a thumb up for sure if it helps me :) Please Summarize this...

    i will give a thumb up for sure if it helps me :) Please Summarize this article about Communicating competitive information,and Applying Game Theory To Managing Price Competition. Pricing Strategies Course -No longer than 400 words. Like any other type of market research, information about competitors will be most valuable if it is collected and stored in a systematic way. Activities such as shopping the competition should be done thoroughly and periodically. Information from different sources should be merged into...

  • Develop a case study analysis in the following format Relevance of the case study to my...

    Develop a case study analysis in the following format Relevance of the case study to my work environment - application - learning impact CASE 4-1 Tambrands Overcoming Cultural Resistance Tampax, Tambrands's only product, is the best-selling tampon in their virginity if they use a tampon. When they go to the beach in the world, with 44 pencent of the global market North America and tiny bikinis, tampons arent their choike. Instead, hordes of women Europe account for 90 percent of...

  • First, read the article on "The Delphi Method for Graduate Research." ------ Article is posted below...

    First, read the article on "The Delphi Method for Graduate Research." ------ Article is posted below Include each of the following in your answer (if applicable – explain in a paragraph) Research problem: what do you want to solve using Delphi? Sample: who will participate and why? (answer in 5 -10 sentences) Round one questionnaire: include 5 hypothetical questions you would like to ask Discuss: what are possible outcomes of the findings from your study? Hint: this is the conclusion....

  • I need Summary of this Paper i dont need long summary i need What methodology they used , what is the purpose of this p...

    I need Summary of this Paper i dont need long summary i need What methodology they used , what is the purpose of this paper and some conclusions and contributes of this paper. I need this for my Finishing Project so i need this ASAP please ( IN 1-2-3 HOURS PLEASE !!!) Budgetary Policy and Economic Growth Errol D'Souza The share of capital expenditures in government expenditures has been slipping and the tax reforms have not yet improved the income...

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