Re: Guaranteed rate per class and maximum ceiling per element in class???

Linux Advanced Routing and Traffic Control

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

 



On Friday 17 September 2004 07:22, Joost Kraaijeveld wrote:
> Hi all,
>
> It is my understanding that with HTB, the rate and the ceiling are divided
> over the elements of the class. E.g. using a rate of 100 kb and a ceiling
> of 2000 kb for a class with 10 elements on a 100Mb NIC, the effect of the
> ceiling will be that if all elements are generating their maximimum
> possible trafic they will be effectively limited to ~ ceiling / number of
> elements, in this case 2000/10 = 200.
Yep.

> But what I want is that any individual within a class is limited to an
> amount that is smaller that the class ceiling while maintaining the class
> ceiling.
>
> Is it possible to achieve a guaranteed rate per class, a ceiling per class
> AND maximum ceiling per individual element in class using TCNG 1.3 on Linux
> (Debian 2.6 kernel)? Otherwise?
Yes, yes and yes :)
The first 2 can be done with htb.  For the third yes, you can use the wrr 
qdisc (I never tested this myself and I don't know if tcng can configure 
this).  The wrr qdisc can be added to a htb class.  Or you can add extra 
classes to the htb class.

For htb shaping rules, see:
http://www.docum.org/docum.org/faq/cache/10.html

Stef

-- 
stef.coene@xxxxxxxxx
 "Using Linux as bandwidth manager"
     http://www.docum.org/
_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux