拥塞避免算法是从 cwnd>=ssthresh 开始还是仅从 cwnd>ssthresh 开始?
cwnd=拥塞窗口 ssthresh=慢启动阈值
实现可以选择。
https://www.rfc-editor.org/rfc/rfc5681:当 cwnd 和 ssthresh 相等时,发送者可以使用慢启动或拥塞避免。
实际上,这取决于算法。有很多拥塞控制算法,如 TCP Tahoe、TCP Reno、TCP Westwood 等。你可以在这里查看它们https://en.wikipedia.org/wiki/TCP_congestion_control。在 Reno 中,如果 cwnd <= ssthresh 则慢启动,否则避免拥塞。