Networking Essentials: TCP, IP, Routing, and SDN
Classified in Computers
Written at on English with a size of 3.21 MB.
1. TCP Congestion Control
Slow Start: TCP initializes congestion window (cwnd) to a small size and doubles it every Round Trip Time (RTT) until a loss occurs (exponential growth) or the slow start threshold is reached.
Congestion Avoidance: After reaching the threshold, cwnd is incremented by one segment for each RTT, growing linearly to avoid congestion.
Fast Recovery: When triple duplicate ACKs are detected, TCP halves the cwnd and reduces the slow start threshold to half of the cwnd size before the loss, then transitions to congestion avoidance.
2. TCP RTT and Timeout
Estimating RTT: Uses Smoothed Round Trip Time (SRTT) which is a weighted average of previous RTT measurements.
Timeout Calculation: Often calculated as Timeout=SRTT+4×RTT
... Continue reading "Networking Essentials: TCP, IP, Routing, and SDN" »