From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stef Coene Date: Fri, 20 Feb 2004 12:56:47 +0000 Subject: Re: [LARTC] HTB Quatum values Message-Id: <200402201356.47732.stef.coene@docum.org> List-Id: References: <403598A8.4090509@snapgear.com> In-Reply-To: <403598A8.4090509@snapgear.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org 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= ,=20 the classes are maybe not able to send enough packets because the polling=20 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 overlimite= d,=20 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= =20 parent class Stef --=20 stef.coene@docum.org =A0"Using Linux as bandwidth manager" =A0 =A0 =A0http://www.docum.org/ =A0 =A0 =A0#lartc @ irc.openprojects.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/