Re: [LARTC] various questions about tc & htb

2002-11-29 Thread Stef Coene
On Friday 29 November 2002 14:25, Mathieu Deziel wrote: > > Prio in htb classes is used to give a) one class the first choice in > > excess bandwidth and b) to give the class lower delays. > > About b) above, will HTB just "do its best" to give classes with lower prio > a better delay, or will it t

Re: [LARTC] various questions about tc & htb

2002-11-29 Thread Stef Coene
On Friday 29 November 2002 13:56, Mathieu Deziel wrote: > All right. What about when no borrowing takes place (classes are not > trying to use more than their base rate)? Is the quantum parameter unused > in this case? Indeed. If a parent has to divide traffic, it will first give a class it's rat

Re: [LARTC] various questions about tc & htb

2002-11-29 Thread Mathieu Deziel
> > Prio in htb classes is used to give a) one class the first choice in excess > bandwidth and b) to give the class lower delays. About b) above, will HTB just "do its best" to give classes with lower prio a better delay, or will it truly work like a priority queuing mechanism (up to the rate, of

Re: [LARTC] various questions about tc & htb

2002-11-29 Thread Mathieu Deziel
All right. What about when no borrowing takes place (classes are not trying to use more than their base rate)? Is the quantum parameter unused in this case? > www.docum.org on the faq page. BAsically, quantum is used when 2 or more > classes are asking for extra (so more then the rate) bandwidt

Re: [LARTC] various questions about tc & htb

2002-11-28 Thread Abraham van der Merwe
Hi Stef! > > Hmm, lets say I want to do this: > > > > 1. shape/prioritize some subnets according to some rules > > 2. shape/prioritize some protocols according to some rules > > > > (1) should be evaluated and then the data stream should be passed on to (2) > > and be evaluated again according to

Re: [LARTC] various questions about tc & htb

2002-11-28 Thread Stef Coene
> You don't have to, but HTB assumes a mtu of 1600 by default which is > > a) wrong in most cases > b) not always the same (e.g. loopback default is 16436) > > < snip <--< snip <--< snip < > root@oasis:~# tc class add dev eth0 parent 1:1 htb help > Usage: ... qdisc a

Re: [LARTC] various questions about tc & htb

2002-11-28 Thread Stef Coene
On Thursday 28 November 2002 17:45, Abraham van der Merwe wrote: > Ok, so it is important to make the quantum proportional to the rate, but > what happens if you have different ratios, e.g. you have the following > classes > > rate 512kbit > rate 256kbit > rate 64kbit > rate 32kbit > > For the last

Re: [LARTC] various questions about tc & htb

2002-11-28 Thread Abraham van der Merwe
Hi Stef! > > HTB questions: > > > > 1. why is quantum not always: quantum=mtu? > > > > From http://luxik.cdi.cz/~devik/qos/htb/manual/userg.htm: > > > > < snip <--< snip <--< snip < > > It is important to know that for precise operation quantums need to be as > > sm

Re: [LARTC] various questions about tc & htb

2002-11-28 Thread Stef Coene
On Thursday 28 November 2002 14:40, Abraham van der Merwe wrote: > Hi! > > HTB questions: > > 1. why is quantum not always: quantum=mtu? > > From http://luxik.cdi.cz/~devik/qos/htb/manual/userg.htm: > > < snip <--< snip <--< snip < > It is important to know that for

[LARTC] various questions about tc & htb

2002-11-28 Thread Abraham van der Merwe
Hi! HTB questions: 1. why is quantum not always: quantum=mtu? From http://luxik.cdi.cz/~devik/qos/htb/manual/userg.htm: < snip <--< snip <--< snip < It is important to know that for precise operation quantums need to be as small as possible and larger than MTU --