From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Klauer Date: Sun, 28 May 2006 00:25:36 +0000 Subject: Re: Fwd: [LARTC] HTB shaping & borrowing info Message-Id: <20060528002536.GA13418@EIS> 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 Sun, May 28, 2006 at 02:04:57AM +0200, Stefano Mainardi wrote: > Like I said above, in the case that B is not producing traffic, 7/8 of the > 20 MB/s need to be assigned to A and the remaining 1/8 will remain to B. Well, reducing the ceil of A by 1/8 of B's bandwidth in the tree I posted earlier would do that. > Is possible, to change dynamically their band assignment? The bandwidth in HTB is dynamic, as classes are allowed to borrow bandwidth from other classes depending on their rate-ceil settings. In the tree I posted, the bandwidth behaviour is as follows: 10mbit will be reserved for C at all times, B can use up to 20mbit, A has 70mbit reserved, but can also use 20mbit of B if B is idle. If the borrowing/lending bandwidth between HTB classes is not dynamic enough for you, the only other option you have is to somehow externally delete/create new HTB classes on the fly, which is not a good solution in most situations. Regards Andreas Klauer _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc