netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RE: Traffic Control - Burst 4096Mb ?!
       [not found] <BD53B6560CD66B4AA230BBB09CD2C8F3244275@ags-exch.ags-intranet.net>
@ 2008-06-18 10:16 ` Jean-Philippe RAMES
  2008-06-18 10:26   ` Patrick McHardy
  0 siblings, 1 reply; 5+ messages in thread
From: Jean-Philippe RAMES @ 2008-06-18 10:16 UTC (permalink / raw)
  To: netdev

Hello,
 
I don't understand why when I run:
tc class add dev eth2 parent 2:1 classid 2:85 htb rate 1024bit ceil
1mbit burst 30kb prio 5

the burst becomes 4096Mb (tc class show eth2):
class htb 2:85 parent 2:1 prio 5 rate 1024bit ceil 1000Kbit burst 4096Mb
cburst 2100b

And I've noticed if I run the same command with a different rate:
tc class add dev eth2 parent 2:1 classid 2:85 htb rate 256kbit ceil
1mbit burst 30kb prio 5

the 30kb burst appears correctly:
class htb 2:85 parent 2:1 prio 5 rate 1024bit ceil 1000Kbit burst 30kb
cburst 2100b
 
Thanks for your help,
JP.

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

* Re: Traffic Control - Burst 4096Mb ?!
  2008-06-18 10:16 ` Traffic Control - Burst 4096Mb ?! Jean-Philippe RAMES
@ 2008-06-18 10:26   ` Patrick McHardy
  2008-06-18 10:28     ` Jean-Philippe RAMES
  0 siblings, 1 reply; 5+ messages in thread
From: Patrick McHardy @ 2008-06-18 10:26 UTC (permalink / raw)
  To: Jean-Philippe RAMES; +Cc: netdev

Jean-Philippe RAMES wrote:
> Hello,
>  
> I don't understand why when I run:
> tc class add dev eth2 parent 2:1 classid 2:85 htb rate 1024bit ceil
> 1mbit burst 30kb prio 5
> 
> the burst becomes 4096Mb (tc class show eth2):
> class htb 2:85 parent 2:1 prio 5 rate 1024bit ceil 1000Kbit burst 4096Mb
> cburst 2100b
> 
> And I've noticed if I run the same command with a different rate:
> tc class add dev eth2 parent 2:1 classid 2:85 htb rate 256kbit ceil
> 1mbit burst 30kb prio 5
> 
> the 30kb burst appears correctly:
> class htb 2:85 parent 2:1 prio 5 rate 1024bit ceil 1000Kbit burst 30kb
> cburst 2100b

Which iproute version are you using?


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

* RE: Traffic Control - Burst 4096Mb ?!
  2008-06-18 10:26   ` Patrick McHardy
@ 2008-06-18 10:28     ` Jean-Philippe RAMES
  2008-06-18 10:32       ` Patrick McHardy
  0 siblings, 1 reply; 5+ messages in thread
From: Jean-Philippe RAMES @ 2008-06-18 10:28 UTC (permalink / raw)
  To: Patrick McHardy; +Cc: netdev

iproute2-ss070313

-----Message d'origine-----
De : Patrick McHardy [mailto:kaber@trash.net] 
Envoyé : mercredi 18 juin 2008 12:26
À : Jean-Philippe RAMES
Cc : netdev@vger.kernel.org
Objet : Re: Traffic Control - Burst 4096Mb ?!

Jean-Philippe RAMES wrote:
> Hello,
>  
> I don't understand why when I run:
> tc class add dev eth2 parent 2:1 classid 2:85 htb rate 1024bit ceil
> 1mbit burst 30kb prio 5
> 
> the burst becomes 4096Mb (tc class show eth2):
> class htb 2:85 parent 2:1 prio 5 rate 1024bit ceil 1000Kbit burst 4096Mb
> cburst 2100b
> 
> And I've noticed if I run the same command with a different rate:
> tc class add dev eth2 parent 2:1 classid 2:85 htb rate 256kbit ceil
> 1mbit burst 30kb prio 5
> 
> the 30kb burst appears correctly:
> class htb 2:85 parent 2:1 prio 5 rate 1024bit ceil 1000Kbit burst 30kb
> cburst 2100b

Which iproute version are you using?


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

* Re: Traffic Control - Burst 4096Mb ?!
  2008-06-18 10:28     ` Jean-Philippe RAMES
@ 2008-06-18 10:32       ` Patrick McHardy
  2008-06-18 11:08         ` Jean-Philippe RAMES
  0 siblings, 1 reply; 5+ messages in thread
From: Patrick McHardy @ 2008-06-18 10:32 UTC (permalink / raw)
  To: Jean-Philippe RAMES; +Cc: netdev

Jean-Philippe RAMES wrote:
> iproute2-ss070313

That version is known to have integer overflows. Any more
revent version should fix it.

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

* RE: Traffic Control - Burst 4096Mb ?!
  2008-06-18 10:32       ` Patrick McHardy
@ 2008-06-18 11:08         ` Jean-Philippe RAMES
  0 siblings, 0 replies; 5+ messages in thread
From: Jean-Philippe RAMES @ 2008-06-18 11:08 UTC (permalink / raw)
  To: Patrick McHardy; +Cc: netdev

Thanks I going to try.


-----Message d'origine-----
De : Patrick McHardy [mailto:kaber@trash.net] 
Envoyé : mercredi 18 juin 2008 12:32
À : Jean-Philippe RAMES
Cc : netdev@vger.kernel.org
Objet : Re: Traffic Control - Burst 4096Mb ?!

Jean-Philippe RAMES wrote:
> iproute2-ss070313

That version is known to have integer overflows. Any more
revent version should fix it.

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

end of thread, other threads:[~2008-06-18 11:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <BD53B6560CD66B4AA230BBB09CD2C8F3244275@ags-exch.ags-intranet.net>
2008-06-18 10:16 ` Traffic Control - Burst 4096Mb ?! Jean-Philippe RAMES
2008-06-18 10:26   ` Patrick McHardy
2008-06-18 10:28     ` Jean-Philippe RAMES
2008-06-18 10:32       ` Patrick McHardy
2008-06-18 11:08         ` Jean-Philippe RAMES

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).