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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=360010
@ -24,7 +24,7 @@
|
|||||||
.\"
|
.\"
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd October 30, 2017
|
.Dd April 16, 2020
|
||||||
.Dt TUNING 7
|
.Dt TUNING 7
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -435,7 +435,7 @@ number of tiny packets flowing across the network in half.
|
|||||||
The
|
The
|
||||||
.Fx
|
.Fx
|
||||||
delayed ACK implementation also follows the TCP protocol rule that
|
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.
|
timeout has not yet passed.
|
||||||
Normally the worst a delayed ACK can do is
|
Normally the worst a delayed ACK can do is
|
||||||
slightly delay the teardown of a connection, or slightly delay the ramp-up
|
slightly delay the teardown of a connection, or slightly delay the ramp-up
|
||||||
|
@ -119,7 +119,7 @@
|
|||||||
|
|
||||||
#define TCP_MAXRXTSHIFT 12 /* maximum retransmits */
|
#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
|
* If we exceed this number of retransmits for a single segment, we'll consider
|
||||||
|
Loading…
Reference in New Issue
Block a user