Reduce default TCP delayed ACK timeout to 40ms.

Reviewed by:	kbowling, tuexen
Approved by:	tuexen (mentor)
MFC after:	2 weeks
Sponsored by:	NetApp, Inc.
Differential Revision:	https://reviews.freebsd.org/D23281
This commit is contained in:
Richard Scheffenegger 2020-04-16 15:59:23 +00:00
parent 0f2f8632dc
commit d7ca3f780d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=360010
2 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd October 30, 2017
.Dd April 16, 2020
.Dt TUNING 7
.Os
.Sh NAME
@ -435,7 +435,7 @@ number of tiny packets flowing across the network in half.
The
.Fx
delayed ACK implementation also follows the TCP protocol rule that
at least every other packet be acknowledged even if the standard 100ms
at least every other packet be acknowledged even if the standard 40ms
timeout has not yet passed.
Normally the worst a delayed ACK can do is
slightly delay the teardown of a connection, or slightly delay the ramp-up

View File

@ -119,7 +119,7 @@
#define TCP_MAXRXTSHIFT 12 /* maximum retransmits */
#define TCPTV_DELACK ( hz/10 ) /* 100ms timeout */
#define TCPTV_DELACK ( hz/25 ) /* 40ms timeout */
/*
* If we exceed this number of retransmits for a single segment, we'll consider