Skip to contentSkip to conversation

dynamic rate (depending on other rate) in htb classes?

LARTC Walter Haidinger 2 participants 2 messages Apr 15, 2003

lore
Share & tools
lore
#0 lore raw

Hi!

Is it possible to have a dynamic rate in a htb class?

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 kbit

Regards, Walter

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw
Quoted 3 lines · Walter Haidinger

Hi!

Is it possible to have a dynamic rate in a htb class?

No.

Quoted 5 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 kbit

You can only do this with external scripting.

Stef

Signature · 8 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/