Re: [LARTC] HTB Quatum values

2004-02-20 Thread Stef Coene
On Friday 20 February 2004 06:18, Damion de Soto wrote:
> Hi guys,
>
> I've just been playing and reading again, and come to the conclusion
> that although i've read a lot about quantum (& r2q) settings for the
> htb qdisc, i still don't understand it.
>
> If the quantum for each class should be as small as possible, but
> larger than the MTU, then is there any reason I shouldn't always
> set it to the MTU size ?
Yes.  Each class will be able to send quantum bytes.  If quantum is too low, 
the classes are maybe not able to send enough packets because the polling 
frequency is not high enough.

> If 2 classes are fulfulling their rate and you want them to share
> unequally, instead of making the quantums different of each one, why not
> just change the prio ?
The prio does 2 things :
   - a low prio class will have low latency if this class is not overlimited, 
but if this class is overlimited, the latency can be very high
   - a low prio class will have a higher priority to borrow tokens from the 
parent class

Stef

-- 
[EMAIL PROTECTED]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.openprojects.net
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


[LARTC] HTB Quatum values

2004-02-19 Thread Damion de Soto
Hi guys,

I've just been playing and reading again, and come to the conclusion
that although i've read a lot about quantum (& r2q) settings for the
htb qdisc, i still don't understand it.
If the quantum for each class should be as small as possible, but
larger than the MTU, then is there any reason I shouldn't always
set it to the MTU size ?
If 2 classes are fulfulling their rate and you want them to share unequally, instead 
of making the quantums different of each one, why not just change the prio ?

regards,

--
~~~
Damion de Soto - Software Engineer  email: [EMAIL PROTECTED]
SnapGear - A CyberGuard Company ---ph: +61 7 3435 2809
 | Custom Embedded Solutions  fax: +61 7 3891 3630
 | and Security Appliancesweb: http://www.snapgear.com
~~~
 ---  Free Embedded Linux Distro at   http://www.snapgear.org  ---
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/