Computer Networks · Congestion Control
Congestion Control at Transport Layer (TCP)
Overview
Congestion control is a transport-layer responsibility that regulates congestion inside the network, and TCP implements it through a dedicated congestion control algorithm.
It is a core syllabus topic and is studied in detail alongside TCP, together with the other general properties of the transport layer.
Key concepts
- Congestion Control (Transport Layer): A responsibility of the transport layer that deals with controlling congestion in the network. It is implemented at TCP via a dedicated congestion control algorithm.
- Flow Control: Another transport layer responsibility that regulates data flow between sender and receiver.
- Error Control: Achieved using a checksum.
- Segmentation: The transport layer's job of breaking messages into segments; explained in detail under the IP topic.
- Multiplexing and Demultiplexing: Transport layer functions based on many-to-one and one-to-many mapping, discussed under TCP.
- General properties of the transport layer: Flow control, congestion control, error control (checksum), segmentation, and multiplexing/demultiplexing together form these properties.
How it works
- The transport layer performs many-to-one and one-to-many mapping, which is the basis of multiplexing and demultiplexing.
- The next responsibility is congestion control; its detailed treatment (the congestion control algorithm) is given under TCP.
- Error control is handled using a checksum.
- Segmentation is revisited in detail under the IP topic, where TCP segmentation is explained.
- Multiplexing/demultiplexing and congestion control are both discussed under TCP.
Revision summary
- Congestion control is a transport layer responsibility, implemented in TCP through a congestion control algorithm.
- Congestion control is very important and is in the syllabus — study it in detail under TCP.
- Error control at the transport layer means checksum.
- Segmentation is explained in detail under the IP topic, with reference back to TCP.
- Multiplexing/demultiplexing means many-to-one and one-to-many mapping, covered under TCP.
- Transport layer responsibilities: flow control, congestion control, error control (checksum), segmentation, multiplexing/demultiplexing.
Previous-year exam insights
- TCP performs both congestion control and flow control; UDP performs neither (it has no congestion control and no flow control, only an optional checksum for error detection).
Asked inUGC NET 2018 - Congestion control policies are classified by layer: at the network layer they include packet discard policy, packet lifetime management, routing algorithms, and congestion control at the subnet level; flow control is a transport-layer (data-link/transport) policy, not a network-layer congestion policy.
Asked inUGC NET 2015 - Token bucket: with bucket capacity C, token arrival rate r and maximum output rate M (M > r), a full bucket lets the sender burst at rate M for S = C/(M − r) (tokens keep arriving during the burst), sending M·C/(M − r) bytes;
after that output is limited to r.
Time to send B bytes is B/M if B ≤ M·C/(M − r), otherwise C/(M − r) + (B − M·C/(M − r))/r.
Asked inGATE 2016 - TCP congestion control phases: slow start (cwnd grows exponentially, doubling per RTT), congestion avoidance (additive increase, +1 MSS per RTT), and multiplicative decrease (cwnd halved) on loss; the threshold ssthresh separates the two phases.
- TCP variants: Tahoe resets cwnd to 1 MSS on any loss, Reno uses fast recovery (halves cwnd on triple duplicate ACKs), and the reaction differs between timeout and triple-duplicate-ACK loss.
- Congestion control vs flow control: congestion control protects the network (sender adapts to network capacity), while flow control protects the receiver (sender adapts to receiver buffer/window); TCP uses the receive window for flow control and cwnd for congestion control, sending min(cwnd, rwnd).
Asked inUGC NET 2018