All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Roy" <roy@xxx.lt>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] r2q
Date: Tue, 23 Mar 2004 15:13:07 +0000	[thread overview]
Message-ID: <002b01c410e9$58bd93a0$030aa8c0@t> (raw)
In-Reply-To: <marc-lartc-102179583208377@msgid-missing>

I newer saw warning mesage about quantum too big.
but probably it is ok to have ANY quantum which is greater than mtu.

probabaly you shpuld not set quantum to 1500 if it is 50000 by defaul,
unless you want to lower that class priority very much.

but so high quantums can make trafic very bursty.
so you may set that quantum to 15000 for better result.

this will make these classes priority proportion as 1 to 10 ( 1 packet of
spare trafic for slow class to 10 packets for fast class)

----- Original Message ----- 
From: "ThE LinuX_KiD" <gregoriandres@yahoo.com.ar>
To: "lartc" <lartc@mailman.ds9a.nl>
Cc: "Roy" <roy@xxx.lt>
Sent: Monday, March 22, 2004 8:50 PM
Subject: RE: [LARTC] r2q


>
> Thank you, Roy !
>
> I've setted quantum to 1500 when:
>
> quantum = rate / r2q < 1500
>
> and error logs are stopped.
>
> In other hand, I get a new warning message:
>
> '"'HTB: quantum of class .... is BIG. Consider r2q change'"'
>
> because, some rates are about 1500kbits, then with
> above formula quantum is about 192000 > 60000
>
> But, I can't change r2q, then I put '"'quantum 55000'"'
> on this rules, and error has been fixed.
>
> Is correct the value '"'quantum 55000'"' ?
> Or I must put mtu (1500) value for quantum ?
>
> Thank you!
>
> Andres.
>
>
>
>
>
>
>
>
> ->
> ->
> -> No,
> -> leave mtu unchanged, or you risk to have problems with some dumb
servers.
> -> just set qantum to 1500, for each rule when it is lower than mtu
> -> bu default
> ->
> -> (quantum = rate (bytes) / r2q) this formula is used by tc to calculate
> -> default quantum
> -> you do not need to use it.
> ->
> ->
> -> ----- Original Message -----
> -> From: '"'ThE LinuX_KiD'"' <gregoriandres@yahoo.com.ar>
> -> To: '"'lartc'"' <lartc@mailman.ds9a.nl>
> -> Sent: Saturday, March 20, 2004 10:17 PM
> -> Subject: RE: [LARTC] r2q
> ->
> ->
> -> >
> -> >
> -> >
> -> >
> -> > Rate=8 Kbits/s = 1 Kbyte/s = 1024 Bytes
> -> > r2q=1
> -> >
> -> > quantum = 1024/1.
> -> >
> -> > Then Quantum = 1024
> -> >
> -> > But MTU\x1500    =>  MTU > Quantum
> -> >
> -> > Must I set MTU to 1024 ????
> -> >
> -> > Thank you!
> -> >
> -> > Andres.
> -> >
> -> >
> -> >
> -> > -> Simply set quantum manualy,
> -> > -> now quantum = rate / r2q
> -> > -> set quantum to one mtu ( 1500 bytes)
> -> > ->
> -> > -> Remember that quantum affects priority
> -> > -> bigger quantum means higer priority.
> -> > ->
> -> > ->
> -> > -> ----- Original Message -----
> -> > -> From: ''"''ThE LinuX_KiD''"'' <gregoriandres@yahoo.com.ar>
> -> > -> To: ''"''lartc''"'' <lartc@mailman.ds9a.nl>
> -> > -> Sent: Friday, March 19, 2004 11:20 PM
> -> > -> Subject: [LARTC] r2q
> -> > ->
> -> > ->
> -> > -> > Hi...
> -> > -> >
> -> > -> > I'm working with HTB, and have a question...
> -> > -> >
> -> > -> > what happen if I create a class of '''"'''8kbit'''"''' ??
> -> > -> >
> -> > -> > I get a log :
> -> > -> >
> -> > -> > '''"'''HTB: quantum of class .... is small. Consider r2q
> change'''"'''
> -> > -> >
> -> > -> > but, my r2q=1  I can't reduce that variable...
> -> > -> >
> -> > -> > how must I procced ?
> -> > -> >
> -> > -> > Thank you!
> -> > -> > mac
> -> > -> > _______________________________________________
> -> > -> > 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/
> > ->
> > _______________________________________________
> > 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-23 15:13 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-19  8:09 [LARTC] r2q john huttley
2002-05-19  9:09 ` Martin Devera
2004-01-26 23:04 ` [LARTC] R2Q Mihai Vlad
2004-01-27 18:23 ` Stef Coene
2004-01-27 23:18 ` Mihai Vlad
2004-01-29 17:58 ` Stef Coene
2004-03-19 21:20 ` [LARTC] r2q ThE LinuX_KiD
2004-03-19 21:53 ` Roy
2004-03-20 20:17 ` ThE LinuX_KiD
2004-03-21  7:20 ` rubens
2004-03-21  8:21 ` Bikrant Neupane
2004-03-22 18:50 ` ThE LinuX_KiD
2004-03-23 15:13 ` Roy [this message]
2004-03-23 15:38 ` ThE LinuX_KiD
2004-03-28 17:59 ` 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='002b01c410e9$58bd93a0$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.