[LARTC] How HTB treats priorities?

Linux Advanced Routing and Traffic Control

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

 



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.
> >
> > =09This is the same kind of setup I've been shooting for. When you sa=
y the
> > sum of D, E and F, are you talking rate or ceil? I would imagine ceil=
=2E
> > 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=
=2E
> > 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 bor=
row=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 ra=
te
> of parent class is respected, what are parents in htb for. Flat structu=
re
> 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 =
the=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 hav=
e=20
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



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