in Computer Networks edited by
863 views
3 votes
3 votes

If TCP RTT is currently 20 ms and following acknowledgement come in after 22,24 and 23 ms respectively. What is new RTT estimate ?

  1. 28.527
  2. 28.82
  3. 20.82
  4. 21.22
in Computer Networks edited by
by
863 views

4 Comments

Sorry alpha is given as 0.9 (forgot to mention)
0
0
yes, the final answer is 20.822 for alpha = 0.9
0
0
Yes the answer is 20.822
0
0

2 Answers

1 vote
1 vote

Given: 1) IRTT= $20$ms

2)$\alpha=0.9$

3) NRTT= $22,24,23$ms

Expected RTT can be calculated in TCP as follows:

$\text{ERTT=$\alpha*$IRTT+(1-$\alpha$)*NRTT}$

  1. ERTT=$0.9*20+0.1*22=20.2$ ms
  2. ERTT=$0.9*20.2+0.1*24=20.58$ ms
  3. ERTT=$0.9*20.58+0.1*23=20.82$ ms

Note: each time when we calculated ERTT, it will become IRTT for the next part.

Option (C) is correct.

0 votes
0 votes
with smoothing factor=0.9    RTT=20.3ms

with smoothing factor=0.8    RTT=20.6ms

Related questions