Chapter 6 Flashcards
What is the primary goal of TCP congestion control?
To determine the available capacity in the network to avoid congestion
Which mechanism does TCP use to adjust the size of the congestion window? A) Fast Retransmit
- Additive Increase/Multiplicative Decrease (AIMD)
- Slow Start
How does TCP infer the occurrence of network congestion?
By detecting timeouts and duplicate ACKs
What happens during TCP’s slow start phase?
The congestion window increases exponentially
What triggers the ‘Fast Retransmit’ mechanism in TCP?
The receipt of multiple duplicate ACKs
Which TCP mechanism adjusts the congestion window based on perceived network congestion without waiting for a packet loss?
Fast Recovery
What does the TCP ‘Additive Increase, Multiplicative Decrease’ strategy help prevent?
- Buffer overflow at the routers
- Congestion collapse
- Uncontrolled bandwidth usage
During TCP congestion control, when is the ‘Slow Start’ algorithm re-invoked?
After a timeout indicating packet loss
Which of the following best describes TCP’s Fast Retransmit?
It triggers retransmission of a packet if multiple duplicate ACKs are received.
In TCP congestion control, what is the purpose of the ‘Congestion Window’?
To control the number of bytes the sender is allowed to transmit without an ACK
Congestion Window (CWND)
- The congestion window controls the amount of data TCP can send into the network before requiring an acknowledgment.
- It starts small and adjusts dynamically based on network responses to find an optimal data flow rate without inducing congestion.
Additive Increase/Multiplicative Decrease (AIMD):
- This is the primary mechanism of TCP congestion control
- Where the congestion window increases gradually (additively) to probe for usable bandwidth and decreases sharply (multiplicatively) when congestion is detected (usually through packet loss indicated by timeouts or duplicate acknowledgments).
Slow Start Phase
- When a TCP connection begins, or after a timeout, TCP uses the slow start algorithm, where the congestion window size increases exponentially each round-trip time (RTT) until it detects packet loss or reaches a threshold.
- This rapid increase helps quickly utilize available bandwidth.
Fast Retransmit
Fast Retransmit triggers a retransmission of packets when multiple duplicate ACKs are received, suggesting that a packet has been lost but subsequent packets have been received.
Fast Recovery
Fast Recovery adjusts the congestion window in response to congestion detected via Fast Retransmit, allowing the congestion window to shrink less drastically than it would with multiplicative decrease alone, thus speeding recovery.
Congestion Avoidance:
After the slow start phase, TCP enters congestion avoidance where it increases the
congestion window more slowly to avoid causing congestion. This phase continues until a packet loss is detected.
Thresholds and Adjustments:
The threshold, or ssthresh, is a boundary between slow start and congestion avoidance. TCP uses this threshold to switch from the exponential growth of the slow start to the linear increase of congestion avoidance.
TCP Self-Clocking
- TCP uses the principle of self-clocking, where the receipt of ACKs paces the sending of new data.
- This mechanism ensures that data transmission is naturally regulated by the rate at which the network can handle the traffic.