/[linux-patches]/genpatches-2.6/trunk/2.6.14/1110_2_tcp-bic-max-increment.patch
Gentoo

Contents of /genpatches-2.6/trunk/2.6.14/1110_2_tcp-bic-max-increment.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 292 - (show annotations) (download) (as text)
Tue Jan 31 21:50:53 2006 UTC (14 years, 10 months ago) by johnm
File MIME type: text/x-diff
File size: 1300 byte(s)
Large update - thanks goes to Kerin Millar for the legwork.
1 From stable-bounces@linux.kernel.org Sat Nov 5 10:41:13 2005
2 Date: Tue, 1 Nov 2005 15:26:45 -0800
3 From: Stephen Hemminger <shemminger@osdl.org>
4 To: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>, "David S. Miller" <davem@davemloft.net>
5 Message-ID: <20051101152645.31075d19@dxpl.pdx.osdl.net>
6 Cc: netdev@vger.kernel.org
7 Subject: tcp: BIC max increment too large
8
9 The max growth of BIC TCP is too large. Original code was based on
10 BIC 1.0 and the default there was 32. Later code (2.6.13) included
11 compensation for delayed acks, and should have reduced the default
12 value to 16; since normally TCP gets one ack for every two packets sent.
13
14 The current value of 32 makes BIC too aggressive and unfair to other
15 flows.
16
17 Submitted-by: Injong Rhee <rhee@eos.ncsu.edu>
18 Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
19 Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
20
21 ---
22 net/ipv4/tcp_bic.c | 2 +-
23 1 file changed, 1 insertion(+), 1 deletion(-)
24
25 --- linux-2.6.14.1.orig/net/ipv4/tcp_bic.c
26 +++ linux-2.6.14.1/net/ipv4/tcp_bic.c
27 @@ -27,7 +27,7 @@
28 */
29
30 static int fast_convergence = 1;
31 -static int max_increment = 32;
32 +static int max_increment = 16;
33 static int low_window = 14;
34 static int beta = 819; /* = 819/1024 (BICTCP_BETA_SCALE) */
35 static int low_utilization_threshold = 153;

  ViewVC Help
Powered by ViewVC 1.1.20