[LARTC] HTB MPU

Jason Boxman jasonb@edseek.com
Thu, 20 May 2004 02:29:00 -0400


On Monday 17 May 2004 18:36, Andy Furniss wrote:
<snip>
> Could be this then -
>
> You can make HTB more accurate by setting HTB_HYSTERESIS to 0 in
> net/sched/sch_htb.c.
>

I have been messing with producing graphs with SNMP, so I only just did thi=
s. =20
I was hoping to get before and after graphs to verify any changes, but I=20
finally just did it.

Lucky for me, my ADSL line died tonight, so when it came back up I was able=
 to=20
see my ping on a completely idle link.  Using HTB with HTB_HYSTERESIS  set =
to=20
0 appears to have greatly reduced my ping time.  It still skips up more oft=
en=20
than when the link is completely idle, but it appears to be (without any=20
graphs to verify) a marked improvement.  (Now I see more 75ms and an=20
occasional 145ms instead of the complete reverse.)

68/70/75 out of 20 ICMP packets when idle.
68.3/91.6/215.7 ms out of 323 ICMP packets at 85% utilization.

=46rom the comments in sch_htb.c I take it I just traded speed for accuracy=
 in=20
some of HTB's calculations, which on such a slow link is probably not an=20
issue?

<snip>
> Andy.

Thanks!

=2D-=20

Jason Boxman
Perl Programmer / *NIX Systems Administrator
Shimberg Center for Affordable Housing | University of Florida
http://edseek.com/ - Linux and FOSS stuff