summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/inet/tcp
diff options
context:
space:
mode:
authorTheo Schlossnagle <jesus@omniti.com>2013-03-28 12:20:55 -0400
committerDan McDonald <danmcd@nexenta.com>2013-03-28 12:20:55 -0400
commite068a72acd1b6e428098d1af72dee9e6ef7c9b12 (patch)
tree2390292aaab9217df73da06241cde8ab83d18be4 /usr/src/uts/common/inet/tcp
parentfb02ae025247e3b662600e5a9c1b4c33ecab7d72 (diff)
downloadillumos-gate-e068a72acd1b6e428098d1af72dee9e6ef7c9b12.tar.gz
3660 tcp_slow_start_* tunables should allow increasing the initial congestion window
Reviewed by: Dan McDonald <danmcd@nexenta.com> Reviewed by: Sebastien Roy <sebastien.roy@delphix.com> Reviewed by: Brendan Gregg <brendan.gregg@joyent.com> Approved by: Dan McDonald <danmcd@nexenta.com>
Diffstat (limited to 'usr/src/uts/common/inet/tcp')
-rw-r--r--usr/src/uts/common/inet/tcp/tcp_opt_data.c3
-rw-r--r--usr/src/uts/common/inet/tcp/tcp_tunables.c4
2 files changed, 2 insertions, 5 deletions
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,