* [LARTC] HTB Quatum values
@ 2004-02-20 5:18 Damion de Soto
2004-02-20 12:56 ` Stef Coene
0 siblings, 1 reply; 2+ messages in thread
From: Damion de Soto @ 2004-02-20 5:18 UTC (permalink / raw)
To: lartc
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: damion@snapgear.com
SnapGear - A CyberGuard Company --- ph: +61 7 3435 2809
| Custom Embedded Solutions fax: +61 7 3891 3630
| and Security Appliances web: http://www.snapgear.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- Free Embedded Linux Distro at http://www.snapgear.org ---
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LARTC] HTB Quatum values
2004-02-20 5:18 [LARTC] HTB Quatum values Damion de Soto
@ 2004-02-20 12:56 ` Stef Coene
0 siblings, 0 replies; 2+ messages in thread
From: Stef Coene @ 2004-02-20 12:56 UTC (permalink / raw)
To: lartc
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
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.openprojects.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-02-20 12:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-20 5:18 [LARTC] HTB Quatum values Damion de Soto
2004-02-20 12:56 ` Stef Coene
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.