]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[TCP] Vegas: Increase default alpha to 2 and beta to 4.
authorDavid S. Miller <davem@sunset.davemloft.net>
Tue, 28 Nov 2006 22:37:38 +0000 (14:37 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:31:03 +0000 (21:31 -0800)
This helps Vegas cope better with delayed ACKs, see
analysis at:

http://www.cs.caltech.edu/%7Eweixl/technical/ns2linux/known_linux/index.html#vegas

Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_vegas.c

index a3b7aa015a2fcb9b82b08d8ba47dc1e81f36b243..ddc4bcc5785eed2737c2ddca93422026f86c3e0f 100644 (file)
@@ -42,8 +42,8 @@
  * with V_PARAM_SHIFT bits to the right of the binary point.
  */
 #define V_PARAM_SHIFT 1
-static int alpha = 1<<V_PARAM_SHIFT;
-static int beta  = 3<<V_PARAM_SHIFT;
+static int alpha = 2<<V_PARAM_SHIFT;
+static int beta  = 4<<V_PARAM_SHIFT;
 static int gamma = 1<<V_PARAM_SHIFT;
 
 module_param(alpha, int, 0644);