* Re: [LARTC] "dynamic rate" in htb classes?
@ 2003-04-16 17:47 Don Cohen
0 siblings, 0 replies; only message in thread
From: Don Cohen @ 2003-04-16 17:47 UTC (permalink / raw)
To: lartc
> > In other words: Class B's rate should always be x times the _current_ rate
> > of class A. Ceiling rates should apply nevertheless though.
> >
> > e.g.: Class A: rate 500 kbit, ceil 2000 kbit
> > Class B: rate 0.25 * (current rate of class A), ceil 1000 kbit
> You can only do this with external scripting.
There are two possible interpretations for the term "current rate".
If you mean the one declared, then I think Stef is correct.
That is, you can declare class B to have rate 125k which is .25 that
of class A, but if you then change class A to 1000, class B is still
125, no longer .25 class A.
However, you more likely mean that the bandwidth actually used
for class B at any time should be .25 that of class A.
And this is the default behavior if you just declare the class B rate
to be 125. That is, excess bandwidth is shared in proportion to the
requested rates. Just put A and B below a common parent (perhaps with
a ceil of 3000k).
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-04-16 17:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-16 17:47 [LARTC] "dynamic rate" in htb classes? Don Cohen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.