]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
If a TCP connection has been idle for one retransmit timeout or more
authorandre <andre@FreeBSD.org>
Wed, 18 Aug 2010 18:05:54 +0000 (18:05 +0000)
committerandre <andre@FreeBSD.org>
Wed, 18 Aug 2010 18:05:54 +0000 (18:05 +0000)
commit26acc98c1d408fd7878e5399b58433d094b24758
tree49d1aa8b779fb8e531f370e3650bd2c8d1952551
parentfb7d7246f68844fc4062c081c8cab78a7a9320db
If a TCP connection has been idle for one retransmit timeout or more
it must reset its congestion window back to the initial window.

RFC3390 has increased the initial window from 1 segment to up to
4 segments.

The initial window increase of RFC3390 wasn't reflected into the
restart window which remained at its original defaults of 4 segments
for local and 1 segment for all other connections.  Both values are
controllable through sysctl net.inet.tcp.local_slowstart_flightsize
and net.inet.tcp.slowstart_flightsize.

The increase helps TCP's slow start algorithm to open up the congestion
window much faster.

Reviewed by: lstewart
MFC after: 1 week
sys/netinet/tcp_output.c
sys/netinet/tcp_var.h