From: DervishD <lartc@dervishd.net>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] HTB burst/cburst decremented by one
Date: Fri, 16 Dec 2005 06:43:00 +0000 [thread overview]
Message-ID: <20051216064300.GD8553@DervishD> (raw)
In-Reply-To: <20051214214610.GB13441@DervishD>
Hi Patrick :)
* Patrick McHardy <kaber@trash.net> dixit:
> DervishD wrote:
> > If I set the burst/cburst parameter to, let's say, 1500, the
> >command "tc -s -d class show dev eth0" says that the value is 1499b/8
> >instead of the (correct?) 1500b/8.
> >
> > Is this right or am I doing anything wrong?
>
> No, this is related to an integer division loosing precision in some
> cases. I'm looking into a fix, but it might take a while.
OK, thanks a lot :) In the meantime I'll just add "1" by hand to
get the numbers I really want ;)
Raúl Núñez de Arenas Coronado
--
Linux Registered User 88736 | http://www.dervishd.net
http://www.pleyades.net & http://www.gotesdelluna.net
It's my PC and I'll cry if I want to...
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
prev parent reply other threads:[~2005-12-16 6:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-14 21:46 [LARTC] HTB burst/cburst decremented by one DervishD
2005-12-16 2:24 ` Patrick McHardy
2005-12-16 6:43 ` DervishD [this message]
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=20051216064300.GD8553@DervishD \
--to=lartc@dervishd.net \
--cc=lartc@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.