Re: how hierarchical is HTB?

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 06 Jun 2007 16:58:14 +0200
Claudio Greco <cla.greco@xxxxxxxxxxxxx> wrote:

> 
> > root class 1: (rate=100, ceil=100)
> > 1: children classes 1:10 (30,100) and 1:20 (70,100)
> > 1:10 children classes 1:100 (10,100) and 1:101 (20,100)
> > 1:20 children classes 1:200 (30,100) and 1:201 (70,100)
> >
> > I managed to have the root rate equals to the sum of its children. 
> >
> >   
> Well, it is still true that total assured rate for classes 1:200 and 
> 1:201 is greater than assured rate for class 1:20. Still, I don't think 
> this is a big deal.

My mistake. I meant 1:20 (40,100) and not (70,100).

> 
> > But how must the rates of the leaves be signed?
> >   
> What do you mean with 'signed'?

Again!? Please read "assigned"

> 
> > And how the bandwidth of these leaves will be distributed when
> > borrowing/lending is necessary? 
> >
> >   
> As far as I know, when a leaf is 'yellow', i.e. its rate is greater than 
> its assured rate and lesser than its ceil rate, it can borrow from its 
> parent providing there's a yellow-path to the root and the root is green 
> (root can't be yellow, only green or red).

Ok. Then class 1:200 may "borrow" from 1:100 via the path to root class.

> 
> If there's more than one child borrowing from the same class, they're 
> served according to their priority (argument prio in *tc class add*).
> 
> If there's more than one child having the same priority, then they're 
> served in DRR order (Deficit Round Robin).

So will the available BW at root class be assigned to 200 and 100
proportionally to its rate (different amounts) or they both (100 and
200) grow by the same amount up to its own ceil? (confuse?)

> 
> You can tune DRR behaviour with arguments r2q in *tc qdisc add* and 
> quantum in *tc class add*.

I will research about that.

> > Any docs about this?
> >
> >   
> You may see:
> 
> http://luxik.cdi.cz/~devik/qos/htb/manual/userg.htm
> http://luxik.cdi.cz/~devik/qos/htb/manual/theory.htm

I found then. Thanx

Ethy

_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux