]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[TCP]: BIC max increment too large
authorStephen Hemminger <shemminger@osdl.org>
Tue, 1 Nov 2005 23:26:45 +0000 (15:26 -0800)
committerArnaldo Carvalho de Melo <acme@mandriva.com>
Wed, 2 Nov 2005 23:24:01 +0000 (21:24 -0200)
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>
Acked-by: Ian McDonald <imcdnzl@gmail.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
net/ipv4/tcp_bic.c

index 6d80e063c187f3464fe77ee52e6128183b5a8642..ae35e06090476a88bc9b6b6a4ba963d1aff9af9b 100644 (file)
@@ -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;