Re: [LARTC] htb ceiling

2002-04-05 Thread Martin Devera
- Original Message - From: Martin Devera [EMAIL PROTECTED] To: Stef Coene [EMAIL PROTECTED] Cc: Gavin [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, April 05, 2002 1:40 PM Subject: Re: [LARTC] htb ceiling tc qdisc add dev eth1 root handle 1 htb default 10 r2q 100 tc class add dev

Re: [LARTC] htb ceiling

2002-04-05 Thread Stef Coene
No Stef, the rate is really measured - it is used as source for DRR weight (here it is used relative to other classes) and to see whether we need to borrow from parent - here absolute value matters. So that the example above should work and give 512k. So each class gets it's rate if it can

Re: [LARTC] htb ceiling

2002-04-05 Thread Stef Coene
On Friday 05 April 2002 14:10, Martin Devera wrote: you have error in conf. As you can see class 1:40 and 1:50 are added to the root not as 1:2 children. The output of htb.init is wrong - you can see that it uses 1:2 class before it demands its create ... I don't know htb.init - you will

Re: [LARTC] htb ceiling

2002-04-05 Thread Gavin
[EMAIL PROTECTED] Cc: Stef Coene [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, April 05, 2002 3:10 PM Subject: Re: [LARTC] htb ceiling you have error in conf. As you can see class 1:40 and 1:50 are added to the root not as 1:2 children. The output of htb.init is wrong - you can see

Re: [LARTC] htb ceiling

2002-04-05 Thread Martin Devera
the rate is really measured - it is used as source for DRR weight (here it is used relative to other classes) and to see whether we need to borrow from parent - here absolute value matters. So that the example above should work and give 512k. So each class gets it's rate if it can by

Re: [LARTC] htb ceiling

2002-04-05 Thread Stef Coene
You can view it as system where all of these hold: 1. each class first uses all of its (absolute) rate 2. if there is no such class then each class can use part of parents rate if ceil allows for it and 3. the parts of the same parent are balanced according to relative values of

[LARTC] htb ceiling

2002-04-04 Thread Gavin
Hello, I'm using HTB (through htb.init :) and it's nearly perfect, but the CEIL directive seems to have no effect. The relevant lines are: tc qdisc add dev eth1 root handle 1 htb default 10 r2q 100 tc class add dev eth1 parent 1: classid 1:2 htb rate 5Mbit burst 15k tc class add dev eth1