Date: Wed, 07 Oct 1998 14:11:54 -0600 From: Warner Losh <imp@village.org> To: Luigi Rizzo <luigi@labinfo.iet.unipi.it> Cc: freebsd-net@FreeBSD.ORG, vev@michvhf.com, freebsd-hackers@FreeBSD.ORG Subject: Re: Dummynet Message-ID: <199810072011.OAA18112@harmony.village.org> In-Reply-To: Your message of "Wed, 07 Oct 1998 18:38:51 BST." <199810071738.SAA08935@labinfo.iet.unipi.it> References: <199810071738.SAA08935@labinfo.iet.unipi.it>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <199810071738.SAA08935@labinfo.iet.unipi.it> Luigi Rizzo writes: : > : actually i don't remember well how i implemented this in ipfw, but i : > : think KB is for kilobyte and K or Kb is for kilobit : > : : > : (with K=1000, not 1024) : > : > kb/s == 1000 bits per second. : > Kb/s == 1024 bits per second : > kB/s == 1000 bytes per second : > KB/s == 1024 bytes per second. : > : > In the SI units, as expanded for computer folks, b == bits, B == : > bytes, k == 1000 and K == 1024. M == 1000000 or 2^20 (or sometimes : > 1024 * 1000). : : there's nothing worse than imprecise definitions! the b/B differentiation : is widespread, but k/K are often used interchangeably. : : What i know for sure is that network bandwidths are seldom measured : with powers of 2, i.e. 64k means 64.000 not 65536, ethernet is 10Mbit= : 10.000.000, etc. : : disk capacities... there K and M were used for 2^10 and 2^20 : respectively, but now it is more and more common to use them for 10^3 : and 10^6, and i hope the unit will not shrink as it happened to the : "monitor inch" ! Yes. But you'll notice that people tend to be careful about k vs K (eg 64k is 64,000), but less careful about M vs M :-). Memory is the only thing that is mesured in M (2^20), while disk space, network speed and most other things are measured in M (10^6). M is the standard SI unit for 10^6, so seeing it used for 10^6 doesn't bother me. k vs K generally doesn't matter, but many people at least make an effort to try keep them straight, at least in this country (otherwise you'd see 65K organizers, rather than the 64K, 256K, 512K, etc for example). Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810072011.OAA18112>