提交 66e1e3b2 编写于 作者: D David S. Miller

[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: NDavid S. Miller <davem@davemloft.net>
上级 af15cc7b
...@@ -29,7 +29,7 @@ static int fast_convergence = 1; ...@@ -29,7 +29,7 @@ static int fast_convergence = 1;
static int max_increment = 16; static int max_increment = 16;
static int low_window = 14; static int low_window = 14;
static int beta = 819; /* = 819/1024 (BICTCP_BETA_SCALE) */ static int beta = 819; /* = 819/1024 (BICTCP_BETA_SCALE) */
static int initial_ssthresh = 100; static int initial_ssthresh;
static int smooth_part = 20; static int smooth_part = 20;
module_param(fast_convergence, int, 0644); module_param(fast_convergence, int, 0644);
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
static int fast_convergence __read_mostly = 1; static int fast_convergence __read_mostly = 1;
static int max_increment __read_mostly = 16; static int max_increment __read_mostly = 16;
static int beta __read_mostly = 819; /* = 819/1024 (BICTCP_BETA_SCALE) */ 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 bic_scale __read_mostly = 41;
static int tcp_friendliness __read_mostly = 1; static int tcp_friendliness __read_mostly = 1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册