[LARTC] newbie: TC[NG] with (256kbit/s down and 768kbit/s up) on a router
Andreas Klauer
Andreas.Klauer@metamorpher.de
Wed, 5 May 2004 12:39:46 +0200
Am Wednesday 05 May 2004 10:34 schrieb Andy Furniss:
> Andreas Klauer wrote:
> > Maybe my script will do: http://www.metamorpher.de/ipshape/
I renamed it to 'Fair NAT' and moved it to
http://www.metamorpher.de/fairnat/, because there already was another
script called ipshape. I didn't like the name anyway :-)
> Nice script - one thing I found was that HTB dequeued packets in pairs -
> with MTU 1500 and your 128kbit up this will hurt latency a bit.
>
> The solution was to change from 1 to 0
>
> #define HTB_HYSTERESIS 0 in net/sched/sch_htb.c
Thanks for the suggestion. I just recompiled the kernel - we'll see if I
notice any change. However, I don't yet fully understand what HYSTERESIS
actually does. There's a FAQ on docum.org, but I still don't get it.
What does 'packets in pairs' mean? Multiple packages at once sounds to me
like burst.
I wish they would make such things available in kernel configuration menu,
with a proper explanation. If you look in the code, there is loads of stuff
that can be customized in the kernel by changing defines directly, but you
rarely can change those things via kernel config. :-(
Andreas