diff options
author | Jesper Dangaard Brouer <hawk@comx.dk> | 2008-06-16 19:38:33 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-06-16 19:38:33 -0400 |
commit | f9ffcedddba5b2fc5ab16ef08bca55af8be2717e (patch) | |
tree | dc51b00085b8db2863c4191ea8b1d5623057c11a /net/sched/sch_htb.c | |
parent | 34a5d713056c325e5bf2b5361646585d5f550a72 (diff) |
pkt_sched: HTB scheduler, change default hysteresis mode to off.
The HTB hysteresis mode reduce the CPU load, but at the
cost of scheduling accuracy.
On ADSL links (512 kbit/s upstream), this inaccuracy introduce
significant jitter, enought to disturbe VoIP. For details see my
masters thesis (http://www.adsl-optimizer.dk/thesis/), chapter 7,
section 7.3.1, pp 69-70.
Signed-off-by: Jesper Dangaard Brouer <hawk@comx.dk>
Acked-by: Martin Devera <devik@cdi.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_htb.c')
-rw-r--r-- | net/sched/sch_htb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_htb.c b/net/sched/sch_htb.c index 5bc1ed490180..9134f029ee0f 100644 --- a/net/sched/sch_htb.c +++ b/net/sched/sch_htb.c | |||
@@ -53,7 +53,7 @@ | |||
53 | */ | 53 | */ |
54 | 54 | ||
55 | #define HTB_HSIZE 16 /* classid hash size */ | 55 | #define HTB_HSIZE 16 /* classid hash size */ |
56 | #define HTB_HYSTERESIS 1 /* whether to use mode hysteresis for speedup */ | 56 | #define HTB_HYSTERESIS 0 /* whether to use mode hysteresis for speedup */ |
57 | #define HTB_VER 0x30011 /* major must be matched with number suplied by TC as version */ | 57 | #define HTB_VER 0x30011 /* major must be matched with number suplied by TC as version */ |
58 | 58 | ||
59 | #if HTB_VER >> 16 != TC_HTB_PROTOVER | 59 | #if HTB_VER >> 16 != TC_HTB_PROTOVER |