lartc.org : Linux Advanced Routing & Traffic Control
(Answer) (Category) lartc.org FAQ : (Category) HTB Shaping rules :
Rate of the class
The rate of a class is the minimum bandwidth a class can gets. Even if you have classes with different priority's.
To make sure this is always true, you have to make sure that the sum of the rates of a class never exceeds the parent rate. In the next example, class 10 and 20 have rate = 60 so together 120 and this is more then rate of the parent (100 and consider this is a real limit). So they can only get 50 wich is less then the configured rate. So with rate = 50 for class 10 and 20 it's more clear what's going on.
   1
  / \
10   20

1 : rate= ceil = 100
10 : rate = 60, ceil = 100
20 : rate = 60, ceil = 100

Rule 3: sum (rate of childs) <= parent rate
stef.coene@docum.org

[Append to This Answer]
Previous: (Answer) Ceil of the parent class
Next: (Answer) Rate of the parent class
This document is: http://qos.dyndns.org:3389/cgi-bin/fom?file=13
[Search] [Appearance]
This is a Faq-O-Matic 2.719.