From: gypsy <gypsy@iswest.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] 1k: 1000 or 1024?
Date: Fri, 24 Feb 2006 03:35:18 +0000 [thread overview]
Message-ID: <43FE7EF6.8AFD2860@iswest.com> (raw)
In-Reply-To: <20060223171230.GI3411@mandriva.com>
Andreas Hasenack wrote:
>
> The docs[1][2] suggest it's 1024, but tc says something else:
>
> # tc qdisc add dev eth0 root tbf rate 1kbps latency 50ms burst 1500
>
> # tc -s qdisc ls dev eth0
> qdisc tbf 8009: rate 8000bit burst 1499b lat 48.8ms
> ^^^^^^^
> Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
> rate 0bit 0pps backlog 0b 0p requeues 0
>
> If 1k were 1024, then I would have 8192bit above.
>
> 1. http://www.docum.org/docum.org/faq/cache/74.html
> 2.http://ds9a.nl/2.4Networking/howto/lartc.qdisc.html#LARTC.QDISC.EXPLAIN
Those docs are old. tc was changed at the request of several members of
this ML. Search the history in May and June of 2004 or read the
Changelog in the source code.
--
gypsy
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
prev parent reply other threads:[~2006-02-24 3:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-23 17:12 [LARTC] 1k: 1000 or 1024? Andreas Hasenack
2006-02-24 3:35 ` gypsy [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=43FE7EF6.8AFD2860@iswest.com \
--to=gypsy@iswest.com \
--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.