Re: [LARTC] htb ceiling

2002-04-07 Thread Gavin
ot; <[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 that it u

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 valu

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 c

Re: [LARTC] htb ceiling

2002-04-05 Thread Gavin
ROTECTED]> To: "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

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 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 c

Re: [LARTC] htb ceiling

2002-04-05 Thread Martin Devera
Gavin > > > - 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 &

Re: [LARTC] htb ceiling

2002-04-05 Thread Gavin
[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 eth1 parent 1: classid 1:2 htb

Re: [LARTC] htb ceiling

2002-04-05 Thread Martin Devera
> > 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 parent 1:2 classid 1:40 htb rate 256Kbit ceil 512Kbit > > burst 15k > > tc qdisc add dev eth1 parent 1:40 handle 40 sfq perturb 10 > > t

Re: [LARTC] htb ceiling

2002-04-05 Thread Gavin
ROTECTED]> To: "Gavin" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, April 05, 2002 11:42 AM Subject: Re: [LARTC] htb ceiling On Friday 05 April 2002 10:19, Gavin wrote: > Hello, > > I'm using HTB (through htb.init :) and it's nearly perfect,

Re: [LARTC] htb ceiling

2002-04-05 Thread Stef Coene
On Friday 05 April 2002 10:19, Gavin wrote: > 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: classi

[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 parent