From: Stephen Hemminger Date: Tue, 1 Nov 2005 23:26:45 +0000 (-0800) Subject: [TCP]: BIC max increment too large X-Git-Tag: upstream/snapshot3+hdmi~44857^2~30^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=450b5b18983cc15f4d27bd3f62901e02281e818b;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git [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 Signed-off-by: Stephen Hemminger Acked-by: Ian McDonald Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/net/ipv4/tcp_bic.c b/net/ipv4/tcp_bic.c index 6d80e06..ae35e06 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;