← Lessons

quiz vs the machine

Gold1380

Networking

The Congestion Window Dynamics

How senders probe for capacity and back off on loss.

5 min read · core · beat Gold to climb

Probing the Path

The congestion window is the sender estimate of how much data the network can absorb without dropping packets. Because that capacity is unknown and changing, the window is constantly adjusted.

Two Phases

After the rapid climb of slow start, the sender enters a gentler phase.

  • Slow start grows the window quickly until a threshold called the slow start threshold.
  • Congestion avoidance then grows the window by about one segment per round trip, probing slowly.
  • A loss signals the path is full, so the sender cuts the window and lowers the threshold.

This pattern of slow rise and sharp drop is often drawn as a sawtooth.

Loss as a Signal

Classic algorithms treat a dropped packet as the main hint of congestion. Newer approaches such as the bottleneck bandwidth method instead estimate delay and rate directly, which can avoid filling buffers.

Key idea

The congestion window climbs fast in slow start, then probes gently in congestion avoidance, and a loss cuts it sharply, producing the sawtooth that lets a sender track changing path capacity.

Check yourself

Answer to earn rating on the learn ladder.

1. During congestion avoidance the window grows by about how much per round trip?

2. In classic algorithms, what event signals the path is full?

3. What shape describes the rise and fall of the window over time?