TCP - Part-2 - Error Control and Congestion Control
TCP - Part-2 - Error Control and Congestion Control
Retransmission occurs
-When the retransmission timer expires
i.e. the number of packets sent to the network—is greater than number of packets
a network can handle.
Congestion happens in any system that involves waiting. It occurs because routers
and switches have queues—buffers that hold the packets before and after
processing.
Congestion control refers to techniques and mechanisms that can either prevent
congestion, before it happens, or remove congestion, after it has happened.
Acknowledgment Policy
the acknowledgments are also part of the load in a network. Sending fewer
acknowledgments means imposing less load on the network.
Window Policy The type of window at the sender may also affect congestion.
One factor that can determine the sender window size is the congestion in the
Internet. The sending transport layer can monitor the congestion in the Internet,
by watching the lost packets, and use a strategy to decrease the window size if the
congestion is increasing and vice versa.
TCP/IP Protocol S
16
uite
Slow start, exponential increase
1
cwnd
RTT
2
cwnd
RTT
4
cwnd
RTT
8
cwnd
TCP/IP Protocol 17
Suite
In the slow start algorithm, the size of the
congestion window increases exponentially until it
reaches a threshold.
18
Congestion avoidance, additive increase
19
In the congestion avoidance algorithm the size of the
congestion window increases additively until congestion is
detected.
TCP/IP Protocol 20
Suite
Congestion Detection : Multiplicative Decrease
TCP/IP Protocol S
21
uite
TCP/IP Protocol S
22
uite
TCP Congestion policy summary
TCP/IP Protocol 23
Suite
Congestion example
TCP/IP Protocol 24
Suite
Lecture videos on the topic can be found at
25