Data:
Maximum Segment Size (MSS) = 2 KB
Round trip time (RTT) = 100 ms
Congestion window Size (CWS) = 32 KB
Formula:
\({\rm{Threshold}} = \frac{{{\rm{CWS}}}}{{{\rm{MSS}}}}\)
Calculation
\({\rm{Threshold}} = \frac{{{\rm{CWS}}}}{{{\rm{MSS}}}} = \frac{{32}}{2} = 16\;KB\)
|
Transmission
|
segment
|
size (KB)
|
Slow start phase
|
1
|
1
|
2
|
2
|
2
|
4
|
3
|
4
|
8
|
4
|
8
|
16 (Threshold)
|
congestion avoidance phase
|
5
|
9
|
18
|
6
|
10
|
20
|
7
|
11
|
22
|
8
|
12
|
24
|
9
|
13
|
26
|
10
|
14
|
28
|
11
|
15
|
30
|
12
|
16
|
32
|
Number of round trips = 12 – 1 = 11
Total time taken = 11 × 100 ms = 1100
The time taken (in msec) by the TCP connection to get back to 32 KB congestion window is 1100 ms.