On Monday 23 December 2002 17:30, raptor wrote:
> |Example :
> |You selled 1.1 Mbps to customer1 and 0.37 (=2.2Mbps/6) to 3 other
> | customers. So you have a total bandwidth of 2.2Mbps.  But you have only
> | 1.2 Mbps available.
> |class rate = ceil = 1.2 Mbps
> |  class1 rate = 0.6, ceil = 1.1Mbps
> |  class2 rate = 0.2, ceil = 0.37Mbps
> |  class3 rate = 0.2, ceil = 0.37Mbps
> |  class4 rate = 0.2, ceil = 0.37Mbps
>
> ]- this is fasable only if u have predetermined number of clients, what if
> u have varing number of clients... any time u add or remove client u have
> to recalculate rate and ceil's... Yes u can achieve this with a little bit
> of scripting i.e. preprocessing the config but this is not a good
> solution.. If there was available some simple arithmetic in the QoS it
> would be better :")
Checking the parent rate/ceil will eat a lot of CPU cycles.  That's why HTB is 
ignoring the parent rate/ceil.  It can be done, but it will be bad for 
performance.

Stef

-- 

[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/

Reply via email to