From: "Stefano Mainardi" Date: Tue, 30 May 2006 11:02:11 +0000 Subject: Re: Fwd: [LARTC] HTB shaping & borrowing info Message-Id: MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============1499579974==" List-Id: References: In-Reply-To: To: lartc@vger.kernel.org --===============1499579974== Content-Type: multipart/alternative; boundary="----=_Part_5355_8118915.1148986931468" ------=_Part_5355_8118915.1148986931468 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Andreas, if I want that A,B,C can borrow bandwidth from each other? How i can the structure of HTB tree? Stefano 2006/5/28, Andreas Klauer : > > 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 > ------=_Part_5355_8118915.1148986931468 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Andreas,
if I want that A,B,C can borrow bandwidth from each other?
How i can the structure of HTB tree?

Stefano

2006/5/28, Andreas Klauer < Andreas.Klauer@metamorpher.de>:
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
------=_Part_5355_8118915.1148986931468-- --===============1499579974== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc --===============1499579974==--