Re: Is this possible?

Linux Advanced Routing and Traffic Control

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

 



On Sun, Mar 05, 2006 at 01:43:11PM +1000, Russell Stuart wrote:
> HTB Class structure the implements this:
> 
>   htb class parent 1:   classid 1:10 rate 80% ceil 100%

To my understanding, a root class that has a higher ceil than rate 
can always use bandwidth up to it's ceil. Thus it would be more 
correct to set the rate to 100% here (whatever that is) as well.

>   htb class parent 1:10 classid 1:11 rate 30% ceil 100%
>   htb class parent 1:11 classid 1:19 rate 30% ceil 100% prio 0 [VOIP leaf]

If class 1:19 is the only child of class 1:11, it can always use 
whatever bandwidth the parent class can get. So the parent class 
does not have any limiting factor here and you can just skip it 
and attach 1:19 to 1:10 directly.

>   htb class parent 1:10 classid 1:20 rate 70% ceil  80%
>   htb class parent 1:20 classid 1:21 rate 20% ceil  80% prio 1 [interactive leaf]
>   htb class parent 1:20 classid 1:22 rate 50% ceil  80% prio 2 [other leaf]
> 
> This is the small class tree I can think of that does it.

The only difference to the tree before is that you grouped all non-voip 
traffic under a separate parent class which is capped at 80%, so voip 
always has 20% of available bandwidth which can not be taken away from 
it, right? If that was your intention, then it's fine.

Regards
Andreas Klauer
_______________________________________________
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