RE: r2q

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ok, in order to conclude: is OK next table ?

QUANTUM values for HTB:

RATE --- QUANTUM
----------------------------------------------
8k --> set QUANTUM = 1500
16k --> Quantum is automatic by HTB algorithm
32k --> Quantum is automatic by HTB algorithm
64k --> Quantum is automatic by HTB algorithm
256k --> Quantum is automatic by HTB algorithm
512k --> set QUANTUM = 15000
----------------------------------------------
each with r2q=1

Also, I set r2q=1 on root class, in order to
support diferentes rates.

Thank you!
andres.





-> -----Mensaje original-----
-> De: lartc-admin@xxxxxxxxxxxxxxx [mailto:lartc-admin@xxxxxxxxxxxxxxx]En
-> nombre de Roy
-> Enviado el: Martes, 23 de Marzo de 2004 12:13 p.m.
-> Para: lartc
-> Asunto: Re:  r2q
->
->
-> 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@xxxxxxxxxxxx>
-> To: "lartc" <lartc@xxxxxxxxxxxxxxx>
-> Cc: "Roy" <roy@xxxxxx>
-> Sent: Monday, March 22, 2004 8:50 PM
-> Subject: RE:  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@xxxxxxxxxxxx>
-> > -> To: '"'lartc'"' <lartc@xxxxxxxxxxxxxxx>
-> > -> Sent: Saturday, March 20, 2004 10:17 PM
-> > -> Subject: RE:  r2q
-> > ->
-> > ->
-> > -> >
-> > -> >
-> > -> >
-> > -> >
-> > -> > Rate=8 Kbits/s = 1 Kbyte/s = 1024 Bytes
-> > -> > r2q=1
-> > -> >
-> > -> > quantum = 1024/1.
-> > -> >
-> > -> > Then Quantum = 1024
-> > -> >
-> > -> > But MTU=1500    =>  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@xxxxxxxxxxxx>
-> > -> > -> To: ''"''lartc''"'' <lartc@xxxxxxxxxxxxxxx>
-> > -> > -> Sent: Friday, March 19, 2004 11:20 PM
-> > -> > -> Subject:  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@xxxxxxxxxxxxxxx
-> > -> > -> > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO:
-> > -> http://lartc.org/
-> > -> > -> >
-> > -> > -> _______________________________________________
-> > -> > -> LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
-> > -> > -> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO:
-> > http://lartc.org/
-> > > ->
-> > > _______________________________________________
-> > > LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
-> > > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO:
http://lartc.org/
> >
>
>

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

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

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux