From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stef Coene Date: Sat, 19 Jun 2004 20:36:11 +0000 Subject: Re: [LARTC] priorities + htb Message-Id: <200406192236.11972.stef.coene@docum.org> List-Id: References: <20040618085411.GA25143@oasis.frogfoot.net> In-Reply-To: <20040618085411.GA25143@oasis.frogfoot.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org On Friday 18 June 2004 13:12, pljosh wrote: > U=BFytkownik Abraham van der Merwe napisa=B3: > > Hi! > > How does prioritization work when you've got a tree structure, e.g. > > > > +-- class_a rate 64kbit prio 1 > > > > | +-- class_a1 rate 32kbit prio 1 > > | > > | `-- class_a2 rate 32kbit prio 2 > > > > `-- class_b rate 64kbit prio 2 The prio of class class_a is never used and does not matter. > HTB means: __Hierarchical__ Token Bucket so it is more like this: > > (b) all packets matching a1, a2 are prio 1, then a1 is given a higher > > priority than a2 > > > > (iow, multiple layers of prioritization exist) > > But "prio" is used when there is some some unused BW that could be > splited for borrowing (for classes which have ceil higher than rate). Htb is used for 2 things: - class with lowest prio will get the lowest latancy (if and only if this=20 class is not sending more data then the tate) - class will lowest prio will get the remaining bandwidth from the parent=20 after each child class is sending his rate. Stef --=20 stef.coene@docum.org =A0"Using Linux as bandwidth manager" =A0 =A0 =A0http://www.docum.org/ _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/