All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] htb and priorizing class
@ 2006-03-24 15:56 Fabio
  2006-03-24 20:20 ` Andreas Klauer
  0 siblings, 1 reply; 2+ messages in thread
From: Fabio @ 2006-03-24 15:56 UTC (permalink / raw)
  To: lartc

Hi!
I'm testing tc and htb.

In my test prio doesn't act like doc (htb manual) explains.

In particular I set 3 subclass htb each having rate 33Mbit, ceil 100Mbit. I 
also set a class having 100Mbit like parent of these 3 subclasses.

If only 2 classes use bandwidth I note that total bandwidth is equally shared 
between these (and it's right). If I set different priority of these classes 
and run the same test, transfer rate doesn't change: classes use about the 
same bandwidth (it's wrong, I think).

Because of the manual explains that if classes prio is the same, excess 
bandwidth is distributed according to rate ratios, I change rate of 3 
subclasses in this way:
class A:  70 Mbit
class B:  20 Mbit
class C:  10 Mbit

one again, if B doesn't use his bandwidth, A and C use the same rate (not 
according to their rates!)

Is this a configuration problem?

Also, when I set tc rules I get: "quantum of class xxxx is big. Consider r2q 
change"

Thanks to all,
Fabio
-- 

Dott. Fabio Marcone

2T srl
Telefono	                           +39 - 0871- 540154
Fax		                           +39 - 0871- 571594
Email	                           fabio.marcone@duet.it	
Indirizzo	                           Viale B. Croce 573
                                           66013 Chieti Scalo (CH)
GNU/Linux registered user  #400424
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [LARTC] htb and priorizing class
  2006-03-24 15:56 [LARTC] htb and priorizing class Fabio
@ 2006-03-24 20:20 ` Andreas Klauer
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Klauer @ 2006-03-24 20:20 UTC (permalink / raw)
  To: lartc

On Fri, Mar 24, 2006 at 04:56:44PM +0100, Fabio wrote:
> Is this a configuration problem?
> 
> Also, when I set tc rules I get: "quantum of class xxxx is big. Consider r2q 
> change"

Well, that message can be avoided by configuring quantum properly
(not always possible if difference between rates is too huge) 
or by setting r2q for each class manually.

For more about quantum & r2q, see for example:
http://www.docum.org/docum.org/faq/cache/31.html

This may fix your problem or not, if it doesn't, can you post 
the tc commands you're using?

Regards
Andreas Klauer
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-03-24 20:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-24 15:56 [LARTC] htb and priorizing class Fabio
2006-03-24 20:20 ` Andreas Klauer

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.