From: Patrick McHardy <kaber@trash.net>
To: Jean-Philippe RAMES <jprames@ags-backup.com>
Cc: netdev@vger.kernel.org
Subject: Re: Traffic Control - Burst 4096Mb ?!
Date: Wed, 18 Jun 2008 12:26:22 +0200 [thread overview]
Message-ID: <4858E2CE.5020605@trash.net> (raw)
In-Reply-To: <BD53B6560CD66B4AA230BBB09CD2C8F346DB91@ags-exch.ags-intranet.net>
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?
next prev parent reply other threads:[~2008-06-18 10:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[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 [this message]
2008-06-18 10:28 ` Jean-Philippe RAMES
2008-06-18 10:32 ` Patrick McHardy
2008-06-18 11:08 ` Jean-Philippe RAMES
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4858E2CE.5020605@trash.net \
--to=kaber@trash.net \
--cc=jprames@ags-backup.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.