+1 vote
145 views
Assume the scenario where size of the congestion window of a TCP connection be 40KB when timeout occurs. The MSS is 2KB. Propagation delay be 200msec. Time taken by TCP connection to get back to 40KB congestion window is …...
0
Mine is coming 5600, i.e. at t = 14 it reaches 20KB window size.

0
2 4 8 16 20 22 24 26 28 30 32 34 36 38 40

14*2*200 => 5600.

Got the same :)
0
0

But not sure when to start.

Check this here we started with 2 , i feel it should be mentioned in the question.

https://gateoverflow.in/101484/cn-tcp-congestion-control

0
Different questions are taking it in different ways
0
No brother we should start with 0 i have solved various GATE Question and got the exact answer by starting from 0, at it make sense as well
0
how 0!! either we should start from 1 or 2 mss which makes sense.
0

@Hemanth_13 I mean the transition starting from 1 upto 2.do we have to consider it?

0
Actually speaking we have to start from 1MSS but see few problems were solved with 2MSS if they want from 2MSS it should be specified in the question.
0
Ok thank you

+1 vote
thresh hold =40/2= 20 kb
time out then it will incremented by 2
the seq goes like this 2 | 4 | 8 | 16 | 20 |  22 | 24 | 26 | 28 | 30 | 32 | 34 | 36 | 38 | 40|

so total will be number of times | occurs * rtt

so total will be 15*400=6000 msec
edited by
+1 vote
We send data in terms of MSS AND NOT KB SO WHENEVER DATA IS GIVEN IN TERMS OF KB,CONVERT IT TO MSS.
Here, it has been said that MSS is 2KB ==> It means the size of 1 segment is 2KB (Max.)
congestion window of a TCP connection be 40KB ===> 40KB/2KB = 20MSS
Threshold = 10MSS

You can either take the window Size in KB OR CONVERT IT TO MSS.....
2KB = 1MSS

1MSS = 2KB
2MSS = 4KB
4MSS = 8KB
8MSS = 16KB
10MSS = 20KB
11MSS = 22KB
12MSS = 24KB
13MSS = 26KB
14MSS = 28KB
15MSS = 30KB ...............

After RTT = 2*200 * 14 = 5600ms, we are able to achieve the Windows Size of 40KB and after RTT = 6000ms, we were able to send
20MSS OR 40KB DATA IN ONE WINDOW SUCCESSFULLY.

Time taken by TCP connection to get back to 40KB congestion window is …...

it should be 5600ms.

I hope I am clear.
edited

1