From: don-lartc@isis.cs3-inc.com (Don Cohen)
To: lartc@vger.kernel.org
Subject: Re: [LARTC] "dynamic rate" in htb classes?
Date: Wed, 16 Apr 2003 17:47:11 +0000 [thread overview]
Message-ID: <marc-lartc-105051562026378@msgid-missing> (raw)
> > 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/
reply other threads:[~2003-04-16 17:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-lartc-105051562026378@msgid-missing \
--to=don-lartc@isis.cs3-inc.com \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.