"dynamic rate" in htb classes?
Quoted 7 lines
Quoted 6 lines
In other words: Class B's rate should always be x times the _current_ rate of class A. Ceiling rates should apply nevertheless though.
e.g.: Class A: rate 500 kbit, ceil 2000 kbit
Class B: rate 0.25 * (current rate of class A), ceil 1000 kbitYou can only do this with external scripting.
There are two possible interpretations for the term "current rate". If you mean the one declared, then I think Stef is correct. That is, you can declare class B to have rate 125k which is .25 that of class A, but if you then change class A to 1000, class B is still 125, no longer .25 class A.
However, you more likely mean that the bandwidth actually used for class B at any time should be .25 that of class A.
And this is the default behavior if you just declare the class B rate to be 125. That is, excess bandwidth is shared in proportion to the requested rates. Just put A and B below a common parent (perhaps with a ceil of 3000k).
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/