netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Munck Steenholdt <tmus@tmus.dk>
To: netdev@oss.sgi.com
Subject: Re: kilobit=1000bit
Date: Sun, 22 Feb 2004 21:39:00 +0100	[thread overview]
Message-ID: <40391364.6090400@tmus.dk> (raw)

alex@pilosoft.com wrote:
> While trying to investigate mysterios packet loss on a link limited by tc
> to its theoretical capacity, I realized that tc (and some other tools)  
> treat kilobit as 1024 bits per second. This is manifestly incorrect, as it
> is pretty much standard for equipment specifications to be given as 1000
> bit per second=kilobit.
> 
> Examples:
> 
> * Ethernet (10BaseT)  is driven by 10Mhz (as in 10 million oscillations 
> per second:) clock, resulting in 10 million bits per second capacity.
> 
> * Ethernet (100BaseT) is driven by 125Mhz clock and uses 4B/5B encoding 
> resulting in 100 million bits per second capacity.
> 
> * 56k modem is (details are too long) but it results in 56000 bits/second.
> 
> 
> I can't think of any networking technology that rates the capacity in 1024 
> bits/second = kilobit.
> 
> This may be a just a heads-up to those unaware, but, it would be nice to 
> change tc to use correct multipliers (possibly with a switch to revert to 
> old behavior).
> 
> 
> -alex
> 

There is an interesting description of the "right" way to do this on
this page: http://www.romulus2.com/articles/guides/misc/bitsbytes.shtml

Thomas

             reply	other threads:[~2004-02-22 20:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-22 20:39 Thomas Munck Steenholdt [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-02-22 19:55 kilobit=1000bit alex

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=40391364.6090400@tmus.dk \
    --to=tmus@tmus.dk \
    --cc=netdev@oss.sgi.com \
    /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 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).