Commit 2b4636a5 authored by Sangtae Ha's avatar Sangtae Ha Committed by David S. Miller

tcp_cubic: make the delay threshold of HyStart less sensitive

Make HyStart less sensitive to abrupt delay variations due to buffer bloat.
Signed-off-by: default avatarSangtae Ha <sangtae.ha@gmail.com>
Acked-by: default avatarStephen Hemminger <shemminger@vyatta.com>
Reported-by: default avatarLucas Nussbaum <lucas.nussbaum@loria.fr>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3b585b34
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
/* Number of delay samples for detecting the increase of delay */ /* Number of delay samples for detecting the increase of delay */
#define HYSTART_MIN_SAMPLES 8 #define HYSTART_MIN_SAMPLES 8
#define HYSTART_DELAY_MIN (2U<<3) #define HYSTART_DELAY_MIN (4U<<3)
#define HYSTART_DELAY_MAX (16U<<3) #define HYSTART_DELAY_MAX (16U<<3)
#define HYSTART_DELAY_THRESH(x) clamp(x, HYSTART_DELAY_MIN, HYSTART_DELAY_MAX) #define HYSTART_DELAY_THRESH(x) clamp(x, HYSTART_DELAY_MIN, HYSTART_DELAY_MAX)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment