Enable the following TCP options by default to give it more exposure:
rfc3042 Limited retransmit rfc3390 Increasing TCP's initial congestion Window inflight TCP inflight bandwidth limiting All my production server have it enabled and there have been no issues. I am confident about having them on by default and it gives us better overall TCP performance. Reviewed by: sam (mentor)
This commit is contained in:
parent
87c3bd2755
commit
dba7bc6a65
@ -125,11 +125,11 @@ SYSCTL_INT(_net_inet_tcp, OID_AUTO, drop_synfin, CTLFLAG_RW,
|
||||
&drop_synfin, 0, "Drop TCP packets with SYN+FIN set");
|
||||
#endif
|
||||
|
||||
static int tcp_do_rfc3042 = 0;
|
||||
static int tcp_do_rfc3042 = 1;
|
||||
SYSCTL_INT(_net_inet_tcp, OID_AUTO, rfc3042, CTLFLAG_RW,
|
||||
&tcp_do_rfc3042, 0, "Enable RFC 3042 (Limited Transmit)");
|
||||
|
||||
static int tcp_do_rfc3390 = 0;
|
||||
static int tcp_do_rfc3390 = 1;
|
||||
SYSCTL_INT(_net_inet_tcp, OID_AUTO, rfc3390, CTLFLAG_RW,
|
||||
&tcp_do_rfc3390, 0,
|
||||
"Enable RFC 3390 (Increasing TCP's Initial Congestion Window)");
|
||||
|
@ -125,11 +125,11 @@ SYSCTL_INT(_net_inet_tcp, OID_AUTO, drop_synfin, CTLFLAG_RW,
|
||||
&drop_synfin, 0, "Drop TCP packets with SYN+FIN set");
|
||||
#endif
|
||||
|
||||
static int tcp_do_rfc3042 = 0;
|
||||
static int tcp_do_rfc3042 = 1;
|
||||
SYSCTL_INT(_net_inet_tcp, OID_AUTO, rfc3042, CTLFLAG_RW,
|
||||
&tcp_do_rfc3042, 0, "Enable RFC 3042 (Limited Transmit)");
|
||||
|
||||
static int tcp_do_rfc3390 = 0;
|
||||
static int tcp_do_rfc3390 = 1;
|
||||
SYSCTL_INT(_net_inet_tcp, OID_AUTO, rfc3390, CTLFLAG_RW,
|
||||
&tcp_do_rfc3390, 0,
|
||||
"Enable RFC 3390 (Increasing TCP's Initial Congestion Window)");
|
||||
|
@ -159,7 +159,7 @@ SYSCTL_INT(_net_inet_tcp, OID_AUTO, isn_reseed_interval, CTLFLAG_RW,
|
||||
* 1024 exists only for debugging. A good production default would be
|
||||
* something like 6100.
|
||||
*/
|
||||
static int tcp_inflight_enable = 0;
|
||||
static int tcp_inflight_enable = 1;
|
||||
SYSCTL_INT(_net_inet_tcp, OID_AUTO, inflight_enable, CTLFLAG_RW,
|
||||
&tcp_inflight_enable, 0, "Enable automatic TCP inflight data limiting");
|
||||
|
||||
|
@ -159,7 +159,7 @@ SYSCTL_INT(_net_inet_tcp, OID_AUTO, isn_reseed_interval, CTLFLAG_RW,
|
||||
* 1024 exists only for debugging. A good production default would be
|
||||
* something like 6100.
|
||||
*/
|
||||
static int tcp_inflight_enable = 0;
|
||||
static int tcp_inflight_enable = 1;
|
||||
SYSCTL_INT(_net_inet_tcp, OID_AUTO, inflight_enable, CTLFLAG_RW,
|
||||
&tcp_inflight_enable, 0, "Enable automatic TCP inflight data limiting");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user