diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-11-28 17:37:38 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 00:31:03 -0500 |
commit | d2e4bdc8704b0e711c5046a430bfd1681b0bd5a9 (patch) | |
tree | 722d66b2a5500e2d1e4cdac5647edf536ea097ba | |
parent | 6b57c93dc3aa0115b589cb89ef862d46ab9bd95e (diff) |
[TCP] Vegas: Increase default alpha to 2 and beta to 4.
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>
-rw-r--r-- | net/ipv4/tcp_vegas.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/tcp_vegas.c b/net/ipv4/tcp_vegas.c index a3b7aa015a2f..ddc4bcc5785e 100644 --- a/net/ipv4/tcp_vegas.c +++ b/net/ipv4/tcp_vegas.c | |||
@@ -42,8 +42,8 @@ | |||
42 | * with V_PARAM_SHIFT bits to the right of the binary point. | 42 | * with V_PARAM_SHIFT bits to the right of the binary point. |
43 | */ | 43 | */ |
44 | #define V_PARAM_SHIFT 1 | 44 | #define V_PARAM_SHIFT 1 |
45 | static int alpha = 1<<V_PARAM_SHIFT; | 45 | static int alpha = 2<<V_PARAM_SHIFT; |
46 | static int beta = 3<<V_PARAM_SHIFT; | 46 | static int beta = 4<<V_PARAM_SHIFT; |
47 | static int gamma = 1<<V_PARAM_SHIFT; | 47 | static int gamma = 1<<V_PARAM_SHIFT; |
48 | 48 | ||
49 | module_param(alpha, int, 0644); | 49 | module_param(alpha, int, 0644); |