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
> 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
> > 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
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
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
> 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
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
&
[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
> > 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
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,
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
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
12 matches
Mail list logo