From: Andreas Klauer <Andreas.Klauer@metamorpher.de>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Is this possible?
Date: Sun, 05 Mar 2006 09:16:10 +0000 [thread overview]
Message-ID: <20060305091610.GA14731@EIS> (raw)
In-Reply-To: <marc-lartc-99477220206399@msgid-missing>
On Sun, Mar 05, 2006 at 01:43:11PM +1000, Russell Stuart wrote:
> HTB Class structure the implements this:
>
> htb class parent 1: classid 1:10 rate 80% ceil 100%
To my understanding, a root class that has a higher ceil than rate
can always use bandwidth up to it's ceil. Thus it would be more
correct to set the rate to 100% here (whatever that is) as well.
> htb class parent 1:10 classid 1:11 rate 30% ceil 100%
> htb class parent 1:11 classid 1:19 rate 30% ceil 100% prio 0 [VOIP leaf]
If class 1:19 is the only child of class 1:11, it can always use
whatever bandwidth the parent class can get. So the parent class
does not have any limiting factor here and you can just skip it
and attach 1:19 to 1:10 directly.
> htb class parent 1:10 classid 1:20 rate 70% ceil 80%
> htb class parent 1:20 classid 1:21 rate 20% ceil 80% prio 1 [interactive leaf]
> htb class parent 1:20 classid 1:22 rate 50% ceil 80% prio 2 [other leaf]
>
> This is the small class tree I can think of that does it.
The only difference to the tree before is that you grouped all non-voip
traffic under a separate parent class which is capped at 80%, so voip
always has 20% of available bandwidth which can not be taken away from
it, right? If that was your intention, then it's fine.
Regards
Andreas Klauer
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
next prev parent reply other threads:[~2006-03-05 9:16 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-10 13:37 [LARTC] Is this possible? GILBERTO BRAZ
2006-02-23 8:38 ` Russell Stuart
2006-02-23 9:23 ` Andreas Klauer
2006-02-23 21:27 ` Russell Stuart
2006-02-24 3:49 ` gypsy
2006-02-24 5:03 ` Russell Stuart
2006-02-24 5:11 ` Russell Stuart
2006-03-05 3:43 ` Russell Stuart
2006-03-05 9:16 ` Andreas Klauer [this message]
2006-03-06 0:53 ` Russell Stuart
2006-03-06 1:19 ` Andreas Klauer
2006-03-06 3:07 ` Russell Stuart
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=20060305091610.GA14731@EIS \
--to=andreas.klauer@metamorpher.de \
--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.