From: "Roy" <roy@xxx.lt>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] R2Q and more
Date: Sun, 28 Mar 2004 23:44:04 +0000 [thread overview]
Message-ID: <006601c4151e$8e743880$030aa8c0@t> (raw)
In-Reply-To: <20040324161622.2266F4014@outpost.ds9a.nl>
> > Q2. What happens if the SUM of all the clients' class RATE
(+
> the
> > default class RATE) is bigger than 256kbit? Will HTB
work
> correctly?
> Yes.
> --------
> This is incorrect:
> of course it will work more or less, but nearly same as without
any shaping
It will work more then you think. On the short term, traffic can be bursty
for the different classes, but each one will belimited to 8kbit. But on the
long term, each class will get the same share of bandwidth.
------
basicaly this may work if difference is not big,
but it was not working for me, I was trying to set rate 8kbit for everyone,
since the sum of rates was 3 times biger than parent ceil, trafic was
divided in unpredictable way.
then I set rate to 1 kbit and everything worked well filling syslog by
warnings that quantum is too small.
logicaly this should not work because htb guarantee the rate amount trafic,
so what if there is not so much available?
> > Q5. The HTB Manual says that the sum of the LEAF CLASSES
RATE
> must be
> > equal to the PARENT CLASS RATE. Is there such a rule
for
> QUANTUMS?
> No
> ----
> seems correct,
> htb manual says nonsense,
> neither rates nether quantums need to be equal,
> but child sum rates and quantums ONLY SHOULD be less or equal
to parent.
> quantums for schild basicaly should be not higer than parent
quantums, else
> result may be starange.
I'm not sure but, isn't quanum only used for leaf classes? So the quantum
of
parent classes doesn't mather ?
---------
You may be right, since I did not checked source code for this, but logicaly
quantum is very significant part
and shoud work everywhere, I suppose quantum is about same as cburst, but
even more significant,
sems it is only way to divide bandwitch between classes with some
proportion.
-----------------
I found strange limitation, if class have leafs, then I cant attach sfq to
it.
where will go unclasified packets from that class? Into root's default?
Now I use dummy class for this purpose with filter which match on anything
Strange that htb have such limitation.
Stef
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2004-03-28 23:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-24 15:46 [LARTC] R2Q and more Mihai Vlad
2004-03-28 17:50 ` Stef Coene
2004-03-28 19:18 ` Roy
2004-03-28 21:05 ` Stef Coene
2004-03-28 23:44 ` Roy [this message]
2004-03-29 6:55 ` Mihai Vlad
2004-03-29 9:23 ` Stef Coene
2004-03-29 15:11 ` Roy
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='006601c4151e$8e743880$030aa8c0@t' \
--to=roy@xxx.lt \
--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.