From: "Martin A. Brown" <mabrown-lartc@securepipe.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] a simple setup with tbf and prio?
Date: Tue, 15 Apr 2003 01:48:53 +0000 [thread overview]
Message-ID: <marc-lartc-105037138418430@msgid-missing> (raw)
In-Reply-To: <marc-lartc-105035807108856@msgid-missing>
Frank,
: > You have more sophisticated needs, because you wish to:
: > - shape total traffic to a specified rate AND
: > - give priority to some traffic
:
: I hoped classless merely meant it couldn't put stuff in different
: classes, but that it could still serve as a parent to a single other
: qdisc. Is there any fundamental reason why it can't, apart from 'code
: simplicity'?
Well, you could always attach a TBF to one of the prio classes, but then
you are limiting traffic only in that one class, not limiting the total
bandwidth transmitted on the interface. I'll copy in something I wrote
earlier this year about classful vs. classless queuing disciplines:
A classless queuing discipline cannot contain another queueing discipline.
A classful queuing discipline can contain classes and leaf queuing
disciplines.
In other words:
- a classless queuing discipline is, by definition, a terminal qdisc
- a classful queuing discipline can be terminal or
- can contain a number of classes, each of which
- can contain another queuing discipline (classless or classful)
Does that illustrate for you why the top-level class should perform the
shaping?
: > You are in luck, because HTB (hierarchical token bucket) is a classful
: > token bucket filter. So, have a look at HTB [2], which is a part of
: > kernel 2.4.20+.
: I was avoiding it because it'd involve having to get a new version of
: iproute2 :)
-Martin
--
Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2003-04-15 1:48 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-14 22:06 [LARTC] a simple setup with tbf and prio? Frank v Waveren
2003-04-15 0:31 ` Martin A. Brown
2003-04-15 1:04 ` Frank v Waveren
2003-04-15 1:48 ` Martin A. Brown [this message]
2003-04-15 1:51 ` Frank v Waveren
2003-04-15 2:56 ` Martin A. Brown
2003-04-15 3:39 ` Frank v Waveren
2003-04-15 4:27 ` Martin A. Brown
2003-04-15 5:59 ` Frank v Waveren
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-105037138418430@msgid-missing \
--to=mabrown-lartc@securepipe.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.