From e068a72acd1b6e428098d1af72dee9e6ef7c9b12 Mon Sep 17 00:00:00 2001 From: Theo Schlossnagle Date: Thu, 28 Mar 2013 12:20:55 -0400 Subject: 3660 tcp_slow_start_* tunables should allow increasing the initial congestion window Reviewed by: Dan McDonald Reviewed by: Sebastien Roy Reviewed by: Brendan Gregg Approved by: Dan McDonald --- usr/src/uts/common/inet/tcp/tcp_opt_data.c | 3 --- usr/src/uts/common/inet/tcp/tcp_tunables.c | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'usr/src/uts/common/inet/tcp') diff --git a/usr/src/uts/common/inet/tcp/tcp_opt_data.c b/usr/src/uts/common/inet/tcp/tcp_opt_data.c index 460ef6d4c7..1a5363bedc 100644 --- a/usr/src/uts/common/inet/tcp/tcp_opt_data.c +++ b/usr/src/uts/common/inet/tcp/tcp_opt_data.c @@ -269,9 +269,6 @@ optdb_obj_t tcp_opt_obj = { tcp_valid_levels_arr /* TCP valid level array */ }; -/* Maximum TCP initial cwin (start/restart). */ -#define TCP_MAX_INIT_CWND 16 - static int tcp_max_init_cwnd = TCP_MAX_INIT_CWND; /* diff --git a/usr/src/uts/common/inet/tcp/tcp_tunables.c b/usr/src/uts/common/inet/tcp/tcp_tunables.c index a1792f71ed..36bab57964 100644 --- a/usr/src/uts/common/inet/tcp/tcp_tunables.c +++ b/usr/src/uts/common/inet/tcp/tcp_tunables.c @@ -379,11 +379,11 @@ mod_prop_info_t tcp_propinfo_tbl[] = { { "_slow_start_after_idle", MOD_PROTO_TCP, mod_set_uint32, mod_get_uint32, - {1, 16384, 4}, {4} }, + {0, 16384, 0}, {0} }, { "_slow_start_initial", MOD_PROTO_TCP, mod_set_uint32, mod_get_uint32, - {1, 4, 4}, {4} }, + {0, 16, 0}, {0} }, { "sack", MOD_PROTO_TCP, mod_set_uint32, mod_get_uint32, -- cgit v1.2.3