From: Stef Coene <stef.coene@docum.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] HTB equivalent for 'bounded' and 'isolated' in CBQ
Date: Sun, 18 Aug 2002 20:01:31 +0000 [thread overview]
Message-ID: <marc-lartc-102970095917402@msgid-missing> (raw)
In-Reply-To: <marc-lartc-102953224700762@msgid-missing>
On Friday 16 August 2002 23:09, Amit Kucheria wrote:
> Hi all,
>
> Sally Floyd's Link sharing paper defines the following:
>
> 1. Bounded class: class that is not allowed to borrow from ancestor
> classes, regardless of the limit status of those classes.
>
> 2. Isolated class: class that does not allow non-descendant classes to
> borrow its unused bandwidth and that does not borrow bandwidth from
> other classes in turn
> How does HTB implement a 'bounded class'? I seem to see no constructs to
> be able to do this.
You can use the ceil parameter to bound a class to a certain rate. With rate
= ceil, you will get the same result as the bounded option in cbq.
> The 'ceil' parameter allows us to implement a part of the 'isolated'
> definition above. By setting it equal to 'rate', the class does not
> borrow bandwidth, but what will stop other classes from borrowing its
> unused bandwidth?
Providing no ceil parameter means rate = ceil. But this can not be used to
implement isolated like in cbq. Rate = ceil means the class can not use more
bandwidth then it's rate. Isolated in cbq means other classes can not borrow
bandwidth from the class and that's not the same. There is no way you can
implement isolated with htb.
But with htb you can do something like this :
Total : 100
class1 rate 20 ceil 20
class2 rate 40 ceil 80
class3 rate 40 ceil 80
class 1 is isolated like in cbq. It can not use more then it's rate/ceil and
class2 and class3 will never use bandwidth from class1, only from each other.
Just like the definition of isolated :)
Stef
Btw, I never could get isolated working with cbq.
--
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/
next prev parent reply other threads:[~2002-08-18 20:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-16 21:09 [LARTC] HTB equivalent for 'bounded' and 'isolated' in CBQ Amit Kucheria
2002-08-18 20:01 ` Stef Coene [this message]
2002-08-21 3:32 ` Amit Kucheria
2002-08-21 17:48 ` Stef Coene
2002-08-29 6:26 ` Radosław Łoboda
2002-08-29 13:08 ` Stef Coene
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-102970095917402@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 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.