On Monday 23 December 2002 17:30, raptor wrote: > |Example : > |You selled 1.1 Mbps to customer1 and 0.37 (=3D2.2Mbps/6) to 3 other > | customers. So you have a total bandwidth of 2.2Mbps. But you have on= ly > | 1.2 Mbps available. > |class rate =3D ceil =3D 1.2 Mbps > | class1 rate =3D 0.6, ceil =3D 1.1Mbps > | class2 rate =3D 0.2, ceil =3D 0.37Mbps > | class3 rate =3D 0.2, ceil =3D 0.37Mbps > | class4 rate =3D 0.2, ceil =3D 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 ha= ve > 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 H= TB is=20 ignoring the parent rate/ceil. It can be done, but it will be bad for=20 performance. Stef --=20 stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net