summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_subr.c
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2004-01-06 23:29:46 +0000
committerandre <andre@FreeBSD.org>2004-01-06 23:29:46 +0000
commitf6253c9b056ace4cec7250af241d170180119755 (patch)
tree32a58c1c1aab7f5a33e767730cf215d6da570f56 /sys/netinet/tcp_subr.c
parentf14c2fc588e4dcc51227a1abd222b96189aabcea (diff)
downloadFreeBSD-src-f6253c9b056ace4cec7250af241d170180119755.zip
FreeBSD-src-f6253c9b056ace4cec7250af241d170180119755.tar.gz
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)
Diffstat (limited to 'sys/netinet/tcp_subr.c')
-rw-r--r--sys/netinet/tcp_subr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c
index 0b3fdf9..df941d5 100644
--- a/sys/netinet/tcp_subr.c
+++ b/sys/netinet/tcp_subr.c
@@ -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");
OpenPOWER on IntegriCloud