From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stef Coene Date: Mon, 23 Dec 2002 16:53:36 +0000 Subject: Re: [LARTC] Using HTB as an ISP "provisioning engine" Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org 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 -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/