tcp: Reduce minimum retransmit timeout to 190ms.
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Thu, 22 Jun 2017 22:06:31 +0000 (06:06 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Thu, 22 Jun 2017 22:06:31 +0000 (06:06 +0800)
commit2cd543d53375eb2f2f86d91dc695d4d83ef78625
tree9a3133c185ad5107b4c66bd87491c8917516b4fa
parentdedd847711827936b689f240a2fb7541f6c79f0e
tcp: Reduce minimum retransmit timeout to 190ms.

Increase retransmit timeout slop to ~160ms and reduce TCPTV_MIN
to ~30ms.  Bring in dillon's comment about TCPTV_MIN reduction
and retransmit timeout slop from FreeBSD.  And make sure that
tcp_rexmit_min is valid for a low kern.hz setting.
sys/netinet/tcp_subr.c
sys/netinet/tcp_timer.h