projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b585b3
)
tcp_cubic: make the delay threshold of HyStart less sensitive
author
Sangtae Ha
<
[email protected]
>
Mon, 14 Mar 2011 07:52:17 +0000
(07:52 +0000)
committer
David S. Miller
<
[email protected]
>
Mon, 14 Mar 2011 22:54:42 +0000
(15:54 -0700)
Make HyStart less sensitive to abrupt delay variations due to buffer bloat.
Signed-off-by: Sangtae Ha <
[email protected]
>
Acked-by: Stephen Hemminger <
[email protected]
>
Reported-by: Lucas Nussbaum <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/ipv4/tcp_cubic.c
patch
|
blob
|
history
diff --git
a/net/ipv4/tcp_cubic.c
b/net/ipv4/tcp_cubic.c
index 5e0491d742cacca6ffa66d32036d2aa153754c45..7172c129ff19356826d0084dee11ffa70c269661 100644
(file)
--- a/
net/ipv4/tcp_cubic.c
+++ b/
net/ipv4/tcp_cubic.c
@@
-39,7
+39,7
@@
/* Number of delay samples for detecting the increase of delay */
#define HYSTART_MIN_SAMPLES 8
-#define HYSTART_DELAY_MIN (
2
U<<3)
+#define HYSTART_DELAY_MIN (
4
U<<3)
#define HYSTART_DELAY_MAX (16U<<3)
#define HYSTART_DELAY_THRESH(x) clamp(x, HYSTART_DELAY_MIN, HYSTART_DELAY_MAX)