Set TCP's cwnd at the village bridge: 20 levels of slow start, AIMD, RTT and RTO, the bandwidth-delay product and bufferbloat.
TCP doesn't wait for each packet's receipt (ACK) before sending the next. It may have cwnd packets on the road at once: the congestion window. Each packet makes one round trip per RTT, so receipts per second ≈ cwnd × (1 second ÷ RTT), until the path is full. A small cwnd leaves the bridge empty and the bus waiting; a cwnd far beyond the bridge gets bikes turned back at the gate.
BDP (Bandwidth-Delay Product) = rate × RTT: how many packets are on the road when the path is used at that rate. A bridge that lets 200 bikes a second across with an RTT of 50 ms is full with 200 × 0.05 = 10 bikes. The 11th bike and the ones after it add no speed: they queue at the gate.
Slow start is used while the sender doesn't know the path's capacity. cwnd starts small and grows by 1 per ACK, so it doubles every RTT: 2, 4, 8, 16. Once cwnd reaches ssthresh, it grows by only 1 per RTT (congestion avoidance). If the path fills first and a packet is lost, cwnd is cut in half.
Loss: a packet that doesn't arrive. The sender doesn't see it fall; it only finds out once the RTO (how long it waits for a receipt) runs out, and then sends a copy (a retransmit). Loss rate = copies ÷ (receipts + copies).
AIMD = Additive Increase, Multiplicative Decrease. With no lost packets, cwnd grows by 1 every RTT. When a packet is lost, cwnd is cut in half, once for one window. On a jammed path that's right: fewer packets, and the queue clears. But AIMD can't tell a packet lost to a jam from one lost to a faulty path.
A buffer is where packets wait in front of the narrowest part of the path (here: the bridge's gate). Packets above the BDP don't get more packets across; they queue. When the buffer is full, the next packet is dropped, and the sender only finds out after the RTO.
And more, 20 levels in all.