Re: Re:Does HTB consider PRIO or not? 2

Linux Advanced Routing and Traffic Control

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

 



On Wednesday 28 September 2005 18:03, Oleg R. wrote:
> Well the output is really big . The classes are 1:5 and 1:14...

Easier readable in this format:
http://img251.imageshack.us/img251/9497/dot6ux.png

I think it shows the problem very clearly... you have a root class with a 
total rate of 10000kbit. This class has a lot of children which have to 
share the bandwidth their parent class provides.

But, the child class shown below the root class (1:3) has a rate of 
10000kbit as well! So this class is already taking all of the available 
bandwidth, leaving exactly zero bandwidth for its siblings. However, since 
the siblings use rates greater than zero, you could say that the parent 
class is over-allocated.

HTB will compensate in this case, but the results are hard to predict.
And that's probably why you are seeing bandwith distributed in a weird way.

When creating a class tree, you should make sure that the children class 
rates added together match the parent class rate. So in your case, the 
root class 1:2 shouldn't have a rate of 10000kbit, but 
10000kbit+2000kbit+192000bit+128000bit*4+... = something alot bigger than 
10000kbit.

HTH
Andreas
_______________________________________________
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