RE: r2q

Linux Advanced Routing and Traffic Control

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

 



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/

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