From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stef Coene Date: Thu, 02 Jan 2003 21:57:37 +0000 Subject: Re: [LARTC] How HTB treats priorities? Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org On Thursday 02 January 2003 19:03, ISC Robert Krycza=B3o wrote: > Hi there, > > >> > Lets assume all classes try to send at their maximum speed trying to > >> > >> saturate the link. According to what you have written class D will > >> get 64kbit/s, class E 128kbit/s and class F will get 32kbit/s. The > >> sum is 224kbit/s if I am correct. Am I right? > >> Yes. So the rate of the parent B must also be at least 224kbit/s. > >> And not 8kbis/s like you wrote before. > >> > >> > I dont want it to happen since customers have paid for 128kbit/s > >> > >> with guaranteed rato of 8kbit/s. Is there a way to acomplish my > >> task???. Can it be done using HTB only? > >> Yes, make the sum of D,E and F =3D 128kbit/s. > > > > This is the same kind of setup I've been shooting for. When you say the > > sum of D, E and F, are you talking rate or ceil? I would imagine ceil. > > That makes it hard to please the customer who is paying for 128kbit, yet > > only sees it in 3 42kbit streams, or some other breakdown of the 128k. > > If I understand you right, there is no way to run three seperate > > children for prioritizing packets, and still give full bandwidth of > > parent to any of the three, without allowing the use of all three at the > > same time to exceed the parent? > > Yes, I am talking about ceil. I was talking about the rate. The ceil must be 128kbit/s so they can borro= w=20 up to 128kbit/s. =20 > And the problem is that (and you as well) I > want 128kbit/s go to class E in case D and F are idle. There must be a way > to set this up, but for now I don't know how. If neither ceiling nor rate > of parent class is respected, what are parents in htb for. Flat structure > would be enough. I would like to receive more feedback on this. That's no problem IF you follow some basic rules. You can find them on=20 www.docum.org on the faq page. You have to see the ceil as a maximum of th= e=20 class. And the rate as a minimum bandwidth and a "divider". =20 The other problem is the parent rate and ceil. I did some test and I have = strange results. I still have to find a way to find out how you can=20 configure the parent rate and ceil to get a good setup. Stef --=20 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/