Re: Fwd: HTB shaping & borrowing info

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>:
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@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux