1,617 views
7 votes
7 votes
Consider TCP congestion control. Assuming RTT as 4 seconds and segment size as 3KB, if bandwidth is 500kbps, what is the smallest window size for which there is no stalling in this case?

2 Answers

4 votes
4 votes
Given Data

Bandwidth = 500 Kbps
Segment size = 3KB
Round Trip Time = 4 sec

So window size will depend upon the data we can send in 1 RTT i.e in 4 sec

To send 500 Kb we need 1 sec
In 4 sec we can send = 500 x 4 kb
Given segment size  = 3 KB
Therefore number of such segments we can send in 4 sec = $\frac{500 \times 4 k}{3 \times 2^{3} k}$
So in 4 sec we can send $\left \lfloor 83.33 \right \rfloor = 83$ segments

Therefore smallest window size should be 83
0 votes
0 votes
i think window size:-   85 segments ???? ...

if not ,please explain....

Related questions

4 votes
4 votes
3 answers
2
Payal Rastogi asked Jul 22, 2016
1,073 views
2 votes
2 votes
2 answers
3
Na462 asked Dec 2, 2018
1,105 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 c...
0 votes
0 votes
0 answers
4
set2018 asked Dec 8, 2017
610 views
Let the size of congestion window of a TCP connection be 38 KB when a timeout occurs. The propagation time of the connection is 100 msec and the maximum segment size used...