From: Stef Coene <stef.coene@docum.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Weird(?) HTB3 setup
Date: Fri, 30 Aug 2002 06:04:02 +0000 [thread overview]
Message-ID: <marc-lartc-103068754225455@msgid-missing> (raw)
In-Reply-To: <marc-lartc-103065379600470@msgid-missing>
> I want to be able to specify actions for different classes of
> traffic in any of these four ways, and I'd like to use only
> HTB if possible:
>
> 1. No guranteed rate, No ceil
> 2. Guaranteed rate, No ceil
> 3. No guranteed rate, Ceil specified
> 4. Guaranteed rate, Ceil specified
What do you mean with no ceil? Do you mean that the classes can send at full
device speed? Then the ceil = device speed. For htb, no ceil means ceil =
rate.
No guaranteed rate can be simulated by creating 2 classes :
root class rate = cail = 100 %
class 1 = rate 1%, ceil 100%
class 2 = rate 99%, ceil 100%
Class 1 will have (allmost) no guaranteed bandwidth. In worst case senario,
it get's only 1 % of the bandwidth. But if class 2 uses only 20%, class 1
can get's the remaining 80%. Of course you can change the ceil to match case
3.
> For types 2, 3 and 4 there can be several classes of each, with
> different rates and ceilings.
>
> 4 is ofcourse easy. 2 is also easy - just set ceil to the ceil of
> the parent class. But I'm not sure whether 1 can be accomplished
> with this:
> > there is build-in passthru class named X:0 where X is your
> > handle. Simply set "default 0" when creating htb and all
> > unclassified packets will go directly thru.
> > devik
>
> Does "go directly thru" mean that unclassified packets are sent
> *before* packets belonging to a class with a guarateed rate? Or
> does it mean that unclassified packets get sent when there is
> bandwidth to spare (which is what I want) ? And what about lending?
> In what proportion does this "passthru class" lend bandwidth compared
> to other classes?
It means that all the packets will get sended as fast as the hardware can.
The packets will end up in the queue just before the device so they can eat
bandwidth from other classes (and that's not what you want).
Stef
--
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/
prev parent reply other threads:[~2002-08-30 6:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-29 20:40 [LARTC] Weird(?) HTB3 setup Marcus Sundberg
2002-08-30 6:04 ` Stef Coene [this message]
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-103068754225455@msgid-missing \
--to=stef.coene@docum.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox