All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Roy" <roy@xxx.lt>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] R2Q and more
Date: Sun, 28 Mar 2004 19:18:50 +0000	[thread overview]
Message-ID: <005201c414f9$86346750$030aa8c0@t> (raw)
In-Reply-To: <20040324161622.2266F4014@outpost.ds9a.nl>

I would not agree to the half of your statments.


On Wednesday 24 March 2004 16:46, Mihai Vlad wrote:
> Hello again,
>
> I have several questions:
>
> Let's take a real case example...
> A connection of 256kbit split among some clients (8kbit RATE,
1500 QUANTUM
> - set manually).
> I use esfq to split the bandwidth as fair as possible.
>
> Q1. What happens if the SUM of all the clients' class RATE (+
the
> default class RATE) is smaller than 256kbit? Will HTB work
correctly?
Yes.
-----
this is correct

> 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


> Q3. What happens if the ISP does not guarantee a '"'full
256kbit'"'
> bandwidth?
> (Suppose that I set my Linux box to shape 256kbit and my ISP
provides me
> only 128kbit during high-traffic hours). Will HTB work
correctly?
Yes.
-----
For certain this is wrong, I dont understand why you say so, because
everybody knows that you must limit ceil to a bit lover than you get from
isp
if you have unknown trafic you cant limit it.


> Q4. As far as I understood R2Q means the ratio between the RATE
and the
> QUANTUM of a class... Which is more '"'powerful'"'? The
RATE, or the QUANTUM?
> (e.g. ClassA---QUANTUM 3000---RATE 8kbit, or
> ClassB---QUANTUM 1500---RATE 16kbit)
r2q is used to calculate the default quantum of a class: quantum =ate / r2q
But you can overrule this default quantum when you add a class.
------
quantum is more powerfull and usefull. since rate of 8kbit is insignificant
speed anyway
but it may be harder to calculate( didt tested if quantum can completely
replace rate effect)
in your example class A will get 2 times more bandwitch than class B

> 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.

this indirectly may affect the statment from htb manual, because rate affect
quantums.
and if one child will consume all its parent quantum then other childs may
get nothing.

Stef

-- 
stef.coene@docum.org
'"'Using Linux as bandwidth manager'"'
http://www.docum.org/
#lartc @ irc.openprojects.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

  parent reply	other threads:[~2004-03-28 19:18 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 [this message]
2004-03-28 21:05 ` Stef Coene
2004-03-28 23:44 ` Roy
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='005201c414f9$86346750$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.