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:
parent
0f2f8632dc
commit
d7ca3f780d
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user