All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] rate precision of CBQ
@ 2001-07-17  6:25 Franck BALAZOT
  2001-07-17  9:16 ` Marian Jancar
  0 siblings, 1 reply; 2+ messages in thread
From: Franck BALAZOT @ 2001-07-17  6:25 UTC (permalink / raw)
  To: lartc

Hi all,

I have managed some CBQ class like :

tc class add dev eth0 parent 10:1 classid 10:100 cbq bandwidth 1920KBit
rate 784 KBit allot 1514 weight 1 Kbit prio 8 maxburst 20 avpkt 1000
bounded

It works fine, but I noticed that the rate precision is not very good
(despite the bounded parameter) :

784 kBit => 96 KBytes/s (theoric) but 130-140 KBytes/s in reality
512 kBit => 64 KBytes/s (theoric) but 80-90 KBytes/s in reality
256 kBit => 32 KBytes/s (theoric) but 33-34 KBytes/s in reality

At low rate (< 256k), it seems good but not at higher rate.


Is this problem coming from my parameters (weight, prio, ...) or is it a
known problem with CBQ ?

regards,
------------------------------------------------
Franck BALAZOT (fbalazot@aeta.fr)
AETA.COM
361, Avenue du Général De Gaulle
92140 CLAMART
FRANCE
Tél:01.41.36.12.93
------------------------------------------------



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

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

* Re: [LARTC] rate precision of CBQ
  2001-07-17  6:25 [LARTC] rate precision of CBQ Franck BALAZOT
@ 2001-07-17  9:16 ` Marian Jancar
  0 siblings, 0 replies; 2+ messages in thread
From: Marian Jancar @ 2001-07-17  9:16 UTC (permalink / raw)
  To: lartc

Franck BALAZOT wrote:

>Hi all,
>
>I have managed some CBQ class like :
>
>tc class add dev eth0 parent 10:1 classid 10:100 cbq bandwidth 1920KBit
>rate 784 KBit allot 1514 weight 1 Kbit prio 8 maxburst 20 avpkt 1000
>bounded
>
>It works fine, but I noticed that the rate precision is not very good
>(despite the bounded parameter) :
>
>784 kBit => 96 KBytes/s (theoric) but 130-140 KBytes/s in reality
>512 kBit => 64 KBytes/s (theoric) but 80-90 KBytes/s in reality
>256 kBit => 32 KBytes/s (theoric) but 33-34 KBytes/s in reality
>
>At low rate (< 256k), it seems good but not at higher rate.
>
>
>Is this problem coming from my parameters (weight, prio, ...) or is it a
>known problem with CBQ ?
>

Try using tbf or something as a leaf qdisc.

Marian Jancar



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

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

end of thread, other threads:[~2001-07-17  9:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-17  6:25 [LARTC] rate precision of CBQ Franck BALAZOT
2001-07-17  9:16 ` Marian Jancar

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.