Consider a TCP connection between a client and a server with the following specifications: the round trip time is 6 ms, the size of the receiver advertised window is 50 KB, slow-start threshold at the client is 32 KB, and the maximum segment size is 2 KB. The connection is established at time t=0. Assume that there are no timeouts and errors during transmission. Then the size of the congestion window (in KB) at time t+60 ms after all acknowledgements are processed is _______.

Correct Answer:

44

Solution:

Given:
RTT = 6 msec.
WR (Receiver window size) = 50KB
Slow-start threshold = 32 KB
MSS (maximum segment size) = 2KB.

at t = 0 → Connection established.
No timeout and errors during transmission

Size of congestion window at t = (t + 60) ms = ?

At t:       1st transmission: 2 KB
At t + 6: 2nd transmission: 4 KB
At t + 12: 3rd transmission: 8 KB
At t + 18: 4th transmission: 16 KB
At t + 24: 5th transmission: 32 KB (Threshold reached)
At t + 30: 6th transmission: 34 KB
At t + 36: 7th transmission: 36 KB
At t + 42: 8th transmission: 38 KB
At t + 48: 9th transmission: 40 KB
At t + 54: 10th transmission: 42 KB
At t + 60:

At t + 60, means at 11th transmission, the congestion window size will be 44 KB