summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@osdl.org>2005-11-09 10:22:10 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2005-11-10 21:18:55 -0800
commit75be5e47479abaac50295fa846cb91edb0424c3a (patch)
treeeb2de2f8c041f25bfe1ca3faddc3a0277a6d875e
parent0b7a194cceea9ac1c2cf9de3cffc5b735773c451 (diff)
downloadlinux-stable-75be5e47479abaac50295fa846cb91edb0424c3a.tar.gz
linux-stable-75be5e47479abaac50295fa846cb91edb0424c3a.tar.bz2
linux-stable-75be5e47479abaac50295fa846cb91edb0424c3a.zip
[PATCH] tcp: BIC max increment too large
The max growth of BIC TCP is too large. Original code was based on BIC 1.0 and the default there was 32. Later code (2.6.13) included compensation for delayed acks, and should have reduced the default value to 16; since normally TCP gets one ack for every two packets sent. The current value of 32 makes BIC too aggressive and unfair to other flows. Submitted-by: Injong Rhee <rhee@eos.ncsu.edu> Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--net/ipv4/tcp_bic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_bic.c b/net/ipv4/tcp_bic.c
index 6d80e063c187..ae35e0609047 100644
--- a/net/ipv4/tcp_bic.c
+++ b/net/ipv4/tcp_bic.c
@@ -27,7 +27,7 @@
*/
static int fast_convergence = 1;
-static int max_increment = 32;
+static int max_increment = 16;
static int low_window = 14;
static int beta = 819; /* = 819/1024 (BICTCP_BETA_SCALE) */
static int low_utilization_threshold = 153;