Slow Start & Congestion Avoidance
Read this concept as one more decision made about a packet in flight. The widget below lets you change the inputs and watch the consequence instead of memorising the rule.
Why it matters
A new connection does not know how much the path can carry, so it must probe carefully instead of filling the pipe at full rate. Congestion control turns observed loss or delay into a sending rate.
On the wire
Slow start begins with a small congestion window and doubles it for every round-trip time as ACKs arrive, until it reaches ssthresh. Congestion avoidance then grows the window roughly one segment per RTT, and classic TCP treats a loss as a signal to cut ssthresh and collapse the window.
When it breaks
A lossy wireless link makes TCP interpret corruption as congestion and throttle unnecessarily. A large window on a shallow queue fills the buffer until it overflows, adding latency before the sender reacts.
Congestion window growth
ACKs slide the window forward; a lost segment blocks cumulative acknowledgment.
Effective window = min(cwnd 1, rwnd 6)
Throughput ≈ window / RTT
cwnd per RTT (ssthresh = 8)
Slow start doubles cwnd each RTT until ssthresh, then congestion avoidance adds one segment per RTT.