summaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_cubic.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2007-06-13 01:03:53 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-06-13 01:03:53 -0700
commit66e1e3b20cbbf99da63e6c1af0fc6d39c2ed099a (patch)
tree6961ba7dc39aee6a61c5830ef2e0e2ad8c6d4be9 /net/ipv4/tcp_cubic.c
parentaf15cc7b858c7653443ab64db2e41b69506450ee (diff)
downloadkernel-common-66e1e3b20cbbf99da63e6c1af0fc6d39c2ed099a.tar.gz
kernel-common-66e1e3b20cbbf99da63e6c1af0fc6d39c2ed099a.tar.bz2
kernel-common-66e1e3b20cbbf99da63e6c1af0fc6d39c2ed099a.zip
[TCP]: Set initial_ssthresh default to zero in Cubic and BIC.
Because of the current default of 100, Cubic and BIC perform very poorly compared to standard Reno. In the worst case, this change makes Cubic and BIC as aggressive as Reno. So this change should be very safe. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_cubic.c')
-rw-r--r--net/ipv4/tcp_cubic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_cubic.c b/net/ipv4/tcp_cubic.c
index 14224487b16b..ebfaac2f9f46 100644
--- a/net/ipv4/tcp_cubic.c
+++ b/net/ipv4/tcp_cubic.c
@@ -29,7 +29,7 @@
static int fast_convergence __read_mostly = 1;
static int max_increment __read_mostly = 16;
static int beta __read_mostly = 819; /* = 819/1024 (BICTCP_BETA_SCALE) */
-static int initial_ssthresh __read_mostly = 100;
+static int initial_ssthresh __read_mostly;
static int bic_scale __read_mostly = 41;
static int tcp_friendliness __read_mostly = 1;