| advertise add site services publishers database health videos | ![]() | about toolbar stats live show health store more stuff JOIN/LOGIN |
AddEASE Binary Connector - Specialty Medical Group specialtymedicalsupply.co... | Binary Statutes, Analog World alcor.org | Binary Statutes, Analog World cryonics.com | Orthofix PreFix Fixator for extremity fractures patient information orthofix.com |
In computing, a binary prefix is a set of letters that precede a unit of digital quantity (bit and byte) to indicate multiplication by a power of two. In certain contexts in computing, such as computer memory size, the units bit and byte have traditionally been reported in multiples of powers of two. The term binary prefix is intended to differentiate usage of the multiple's names and symbols (for example, kilo or k) from the SI prefixes, which are always decimal (power of 10) multiples.[1] The first few binary multipliers, e.g., 1024 (210), 1048576 (220), are close in value to SI prefixes, such as kilo (1000 = 103) and mega (1000000 = 106), respectively. Therefore it became common practice amongst computer professionals to use these prefixes for the binary multiples, for example, to use the symbol M (mega) to mean 1048576 instead of 1000000. However, when used with SI units and in some other contexts, these prefixes retained their decimal meanings. Certain disciplines of computing have always used these prefixes as decimal multipliers, for example, when specifying quantities of bits transmitted on a serial transmission medium. This has led to ambiguity in intended use of these prefixes.[2] In 1999, following recommendations by the International Union of Pure and Applied Chemistry (IUPAC) in 1995[3] and National Institute of Standards and Technology (NIST), the standards organization known as the International Electrotechnical Commission (IEC) adopted a set of distinct prefixes (cf. IEC 60027), e.g., kibi (symbol Ki, from "kilobinary")[2] and mebi (symbol Mi, from "megabinary"), to indicate binary multipliers. The system used the multiplier 1024 (210), rather than 1000 (103) as in the SI system, to arrive at successively larger prefixes. Under this recommendation, the SI prefixes should only be used in the decimal sense: kilobyte and megabyte denote one thousand bytes and one million bytes respectively, while kibibyte and mebibyte denote 1024 bytes and 1048576 bytes respectively. This recommendation has since been adopted by some other leading national and international standards bodies, that now prescribe that the prefixes k, M and G should always refer to powers of ten, even in the context of information technology.[4][2][5][6] Notwithstanding the availability of the new binary prefixes and their unambiguous meaning, they have seen limited adoption in practice; the use of K (or k), M and G as binary multipliers when denoting the capacity of solid‑state memory like random access memory (RAM) remains a ubiquitous industry practice.[7]
[edit] HistorySee also: Timeline of binary prefixes [edit] Early usageEarly computers used one of two addressing methods to access the system memory; binary (base-2) or decimal (base-10). For instance, the IBM 701 (1952) used binary and could address 2,048 36-bit words, while the IBM 702 (1953) used decimal and could address 10,000 7-bit words. By the mid 1960s, binary addressing had become the standard architecture in computer design. The computer system documentation would specify the memory size with an exact number such as 32768, 65536 or 131072 words of storage (all powers of 2). There were several methods used to abbreviate these quantities. The use of K in the binary sense as in a "32K core" can be found as early as 1959[8][9] Gene Amdahl's seminal 1964 article on IBM System/360 used 1K to mean 1024.[10] This style was used by other computer vendors, the CDC 7600 System Description (1968) made extensive use of K as 1024.[11] Another style was to truncate the last 3 digits and append K. The exact values 32768, 65536 and 131072 would then become 32K, 65K and 131K.[12] (If 32768 were instead rounded off, it would be 33K; if K = 1024 were used, 65,536 would become "64K".) This style was used from about 1965 to 1975. These two styles (K = 1024 and truncation) were used loosely around the same time, sometimes by the same company. (In discussions of binary-addressed memories, the exact size was evident from context.) The HP 21MX real-time computer (1974) denoted 196608 as 196K and 1048576 as 1 M,[13] while the HP 3000 business computer (1973) could have 64K, 96K, or 128K bytes of memory.[14] The terms Kbit, Kbyte, Mbit and Mbyte started to be used as binary units in the early 1970s.[15] Most memory capacities were expressed in K, even when M could have been used: The IBM System/370 Model 158 brochure (1972) had the following: "Real storage capacity is available in 512K increments ranging from 512K to 2,048K bytes."[16] Megabyte was used to describe the 22-bit addressing of DEC PDP-11/70 (1975)[17] and gigabyte the 30-bit addressing DEC VAX-11/780 (1977). By the mid 1970s it was common to see K (e.g., Kbyte) meaning 1024 and the occasional M (e.g. Mbyte) as 1048576 for words or bytes of computer memory (RAM) while K and M were commonly used with their decimal meaning for disk storage. In the 1980s the term G (e.g. GB) with decimal meaning was commonly applied to disk storage while M in its binary meaning became common for computer memory. In the 1990s G in its binary meaning became common usage for computer memory. The first TB hard disk drive (terabyte, decimal meaning) was introduced in 2007.[18] The dual use of these prefixes as both decimal and binary quantities was defined in standards and dictionaries. The 1986 ANSI/IEEE Std 1084-1986[19] defined dual uses for kilo and mega.
The binary units Kbyte and Mbyte were formally defined in ANSI/IEEE Std 1212-1991.[20] The terms Kbyte, Mbyte, and Gbyte are found in the trade press and in IEEE journals. Gigabyte was formally defined in IEEE Std 610.10-1994 as either 1000000000 or 230 bytes.[21] Kilobyte, Kbyte, and KB are equivalent units and all are defined in the current standard, IEEE 100-2000.[22] The industry has coped with the dual definitions because system memory (RAM) typically uses the binary meaning while disk storage uses the decimal meaning. There are exceptions like diskettes and Compact Disks. There are no SI units for digital storage capacity but the decimal prefix meanings of KB, MB, and GB are often referred to as SI prefixes. Historically, digital transfer rates have almost always been described or defined in decimal units. For example, the ATA-100 disk interface refers to 100000000bytes/s, 1x CD-ROM speed is 150K or 150000bytes/s, 56K modems refer to 56000bytes/s, SATA-2 has a raw bit rate of 3Gb/s = 3000000000bits/s, PC-6400 ram transfers 6400000000bytes/s, Firewire 800 has a raw rate of 800000000bits/s. [edit] Suggestions for new prefixesWhile computer scientists typically used k to mean 1000, they recognized the convenience that would result from working with powers of 1024 and the confusion that resulted from using the same abbreviation for two definitions.[23] Several proposals for unique symbols were made in 1968. (At the time, memory size was small, and only K was in widespread use.) Donald Morrison proposed to use the Greek letter κ to denote 1024, κ² to denote 1024×1024, and so on.[23] Wallace Givens responded with a proposal to use bK as an abbreviation for 1024 and bK2 or bK² for 1024×1024, though he noted that neither the Greek letter nor lowercase letter b would be easy to reproduce on computer printers of the day.[24] Bruce A. Martin further proposed that the units be abandoned altogether, and the letter B be used as a binary exponent, similar to E notation, to create shorthands like 3B20 for 3×220[25] None of these gained much acceptance, and capitalization of the letter K became the de facto standard for binary notation, though this could not be extended to higher powers. Later, as the discrepancy between the two systems increased, more proposals for unique units were made. In 1996, Markus Kuhn proposed a system of units with di prefixes, like the "dikilobyte" (K₂B or K2B).[26] The binary set of prefixes were first proposed[27] by the IUPAC Interdivisional Committee on Nomenclature and Symbols in 1995. At that time, it was proposed that the terms kilobyte and megabyte be used only for 103 bytes and 106 bytes, respectively. The new prefixes kibi (kilobinary), mebi (megabinary) and gibi (gigabinary) were also proposed at the time, and the proposed symbols for the prefixes were kb, Mb and Gb respectively, rather than Ki, Mi and Gi.[3] The proposal was not accepted at the time. The IEEE had begun to collaborate with the ISO and IEC to find acceptable names for binary prefixes. The IEC proposed kibi, mebi, gibi and tebi, with the prefixes Ki, Mi, Gi and Ti respectively, in 1996.[28] The IEEE decided that their standards would use the prefixes kilo, etc. with their metric definitions, allowing the base-two definitions to be used in an interim period as long as such usage was explicitly pointed out on a case-by-case basis.[29] In January 1999, the IEC published the first international standard (IEC 60027-2 Amendment 2) with the new prefixes, extended up to pebi (Pi) and exbi (Ei).[30][31] Proposals for alternative sets of prefixes have continued following the introduction of these prefixes as well. Donald Knuth, who uses decimal notation like 1 MB = 1000 kB,[32] has proposed that the powers of 1024 be designated as "large kilobytes" and "large megabytes" (abbreviated KKB and MMB, as "doubling the letter connotes both binary-ness and large-ness").[27][32]
[edit] Prefixes
[edit] SI prefix names in binary useQuantities that are multiples of the unit by a power of 2 are indicated using similarly-valued SI prefixes, such as using kilo (the SI prefix for 1000) to indicate 210=1024. Byte multiples using binary powers up to yottabyte are given by the on-line computing dictionary FOLDOC.[33] The one-letter symbols are identical to SI prefixes, except for "K", which is used interchangeably with "k" (in SI, only the lower-case "k" represents 1000). These prefixes are in common use in contexts such as file and memory sizes. The names and values of the SI prefixes were defined in the 1960 SI standard, with powers-of-1000 values. Standard dictionaries do recognize the binary use of these prefixes.[34][35] Oxford online dictionary defines, for example, megabyte as: "Computing a unit of information equal to one million or (strictly) 1048576bytes."[36] [edit] IEC standard prefixesIn January 1999, the International Electrotechnical Commission introduced in an addendum to IEC 60027-2 the prefixes kibi (kibibyte), mebi, gibi, etc., and the symbols Ki, Mi, Gi, etc. to specify binary multiples of a quantity and eliminate the ambiguity with their SI meanings.[37] The names for the new standard are derived from the original SI prefixes followed by the term binary, such as kilobinary, and can be shortened to a prefix like kibi. The new standard also clarifies that, from the point of view of the IEC, the SI prefixes will remain to have their base-10 meaning and never have a base-2 meaning. The second edition of the standard[38] defined them only up to exbi,[39] but in 2005, the third edition added prefixes zebi and yobi, thus matching all SI prefixes with their binary counterparts.[40] On 19 March 2005 the IEEE standard IEEE 1541-2002 (Prefixes for Binary Multiples) was elevated to a full-use standard by the IEEE Standards Association after a two-year trial period.[41] Nevertheless, as of April 2008[update], the IEEE Publications division does not use the IEC prefixes in its major magazines such as Spectrum[42] or Computer.[43] The harmonized ISO/IEC IEC 80000-13:2008 standard cancels and replaces subclauses 3.8 and 3.9 of IEC 60027-2:2005 (those defining Prefixes for binary multiples). The only significant change is the addition of explicit definitions for some quantities. [44] BIPM (the International Bureau of Weights and Measures which maintains SI) expressly prohibits the use of SI prefixes to denote powers of two, and recommends the use of the IEC prefixes as an alternative since computing units are not included in SI.[4]. The binary definition of the SI prefix names is not permitted by the United States National Institute of Standards and Technology (NIST).[45] [edit] Deviation between binary and decimal interpretationsThe relative difference between the values in the binary and decimal interpretations increases, when using the SI prefixes, from 2.4% for kilo to over 20% for the yotta prefix. This makes differentiating between the two unit interpretations increasingly important as larger data storage and transmission technologies are developed.
Example: 300 GB (300×109 B) ≅ 300×0.9313 GiB ≅ 279.4 GiB [edit] Usage notesIn this section, the phrase "decimal unit" is used to denote "SI designation understood in its standard, decimal, power-of-1000 sense" and "binary unit" means "SI designation understood in its binary, power-of-1024 sense." B is the symbol for bytes (as per computer-industry standard IEEE 1541 and IEC 60027), while both bit (as per ISO/IEC 80000) and b (as per IEEE 1541-2002) are used as the symbol for bits. Certain units are always understood as decimal even in computing contexts. For example, hertz (Hz), which is used to measure clock rates of electronic components, and bit/s, used to measure bit rate. So a 1 GHz processor performs 1000000000 clock ticks per second, a 128 kbit/s MP3 stream consumes 128,000 bits (16 kB, 15.625 KiB) per second, and a 1 Mbit/s Internet connection can transfer 1000000bits (125 kB, approx 122 KiB) per second, assuming an 8-bit byte, and no overhead.[46] [edit] PronunciationIt is suggested that in English, the first syllable of the name of the binary-multiple prefix should be pronounced in the same way as the first syllable of the name of the corresponding SI prefix, and that the second syllable should be pronounced as "bee."[2] [edit] FilesPrior to the release of Mac OS (1984), file sizes were typically reported by the operating system in decimal digits without prefixes of any sort.[citation needed] Today, most operating systems are capable of reporting file sizes with prefixes. Most Unix-like systems which use the ls command to display file sizes use powers of 1024 indicated as KB/MB. In Linux, the directory listing tool (ls) has options for decimal file size listings. Microsoft Windows reports file sizes using prefixes in binary meaning but does not use IEC standard prefixes. Prior to Snow Leopard, Apple's Mac OS X reported file sizes in the same way. Since Snow Leopard, file sizes are reported in decimal units.[47] [48] [edit] Computer memoryMeasurements of most types of electronic memory such as RAM, ROM and Flash (large scale disk-like flash is sometimes an exception) are given in binary units, as they are made in power-of-two sizes. This is the most natural configuration for memory, as all combinations of their address lines map to a valid address, allowing easy aggregation into a larger contiguous block of memory. JEDEC Solid State Technology Association, the semiconductor engineering standardization body of the Electronic Industries Alliance (EIA) in Standard 100B.01[6][49] continues to include definitions in the binary sense K, M and G as prefixes to units of semiconductor memory (see JEDEC memory standards), noting that these definitions are "only included to reflect common usage" and noting that "IEEE/ASTM SI 10-1997 states 'This practice frequently leads to confusion and is deprecated.'" All standards published by JEDEC use the common usage, including end-user packaging recommendations for memory chips. Many computer programming tasks reference memory in terms of powers of two because of the inherent binary design of hardware addressing systems. For example, a 16-bit processor register can reference at most 65,536 items (bytes, words, or other objects), or an operating system might map memory as 4096-byte pages, in which case exactly 8192 pages could be allocated within 33554432bytes of memory. It is convenient to informally express these numbers, respectively, as 64K items, or as 8K pages of 4 Kbytes (KiB) each within 32 MBytes (MiB) of memory. [edit] Hard disk drivesHard disk drive manufacturers state capacity in decimal units. Unlike computer memory chips, disk drives have no addressing restrictions to force sector capacities to powers of two. This usage has a long tradition, even predating the SI system of decimal prefixes adopted in 1960, as follows:
As of January 2007[update], most, if not all, HDD manufacturers continue to use decimal prefixes to identify capacity.[51] [edit] Flash drivesUSB Flash Drive and Flash-based memory cards like CompactFlash and Secure Digital are typically classified in "powers of two" multiples of decimal megabytes; for example, a "256 MB" card provides at least 256 million bytes (256000000), not 256×1024×1024 (268435456).[52] Although the devices usually have at least the expected byte capacity, each manufacturer allocates different portions of the device's ultimate capacity for such things as wear levelling. [edit] Floppy drivesFloppy disk drive and media manufacturers use decimal units for unformatted recording capacity while most computer operating systems use binary units to measure the formatted capacity. The original IBM Personal Computer (1981) used a Tandon TM100 5¼ inch floppy disk drive. The single sided drive was rated at 250 kilobytes (unformatted) and the double sided version was rated at 500 kilobytes.[53] A 5¼ inch diskette recorded at double density (MFM) will hold 6,250 bytes per track and has 40 tracks per side, yielding 250,000 bytes per side. To make it practical to record smaller blocks of data, the tracks are formatted into sectors with gaps between them. The gaps allow individual sectors to be recorded without overwriting adjacent sectors. Each sector also has additional header bytes to identify the sector. With IBM PC-DOS 1.0 and 1.1, each track has 8 sectors of 512 bytes and this provides 163,840 bytes per side (8 × 512 × 40). The IBM user documentation referred to this as "160KB" for single sided diskette and "320KB" for double sided diskette.[54] Starting with PC-DOS 2.0 (1983), each track had 9 sectors of 512 bytes. The formatted capacity was increased to 184,320 bytes per side or 368,640 bytes per diskette. The IBM documentation referred to these as "180KB" and "360KB" diskettes. The same drives and media can have different capacities depending on format.[55] On all diskettes the capacity available to the user will be smaller that the total number of sectors because some are reserved by the operating system for boot records or directory tables. The IBM Personal Computer/AT (1984) had a new 5¼ inch disk drive that had 80 tracks per side, rotated at 360 rpm (versus 300 rpm) and had a new diskette media. The formatted capacity was 1228800 bytes or 1200 KB. (80 tracks × 15 sectors × 512 bytes × 2 sides) The IBM PC Convertible (1986) used the 3½ inch diskettes. These were similar in recording technology to the original 5¼ inch drives except they had 80 tracks per side. The formatted capacity was 737,280 bytes or 720 KB. Apple used the same disk with a different recording technology, GCR, that gave a formatted capacity of 819,200 bytes or 800 KB. Apple referred to this as an "800K" disk.[56] The last widely adopted diskette was the 3½ inch high density. This has twice the capacity as the 720 KB diskettes, 1474560 bytes or 1440 KB. The drive was marketed as 1.44 MB when a more accurate value would have been 1.4 MB (1.40625 MB). Some users have noticed the missing 0.04 MB and both Apple and Microsoft have support bulletins referring to them as 1.4 MB.[56][57] The 1200 KB 5¼ inch diskette was marketed as 1.2 MB (1.171875 MiB) without any controversy. [edit] Optical discsCD capacities are always given in binary units. A "700 MB" (or "80 minute") CD has a nominal capacity of about 700 MiB (approx 730 MB).[58] However, the capacities of other optical disc storage media like DVD, Blu-ray Disc, HD DVD are given in decimal units. A "4.7 GB" DVD has a nominal capacity of about 4.38 GiB.[59] [edit] BusesBus clock speeds and therefore bandwidths are both given in decimal units. For example, "PC3200" memory on a double pumped bus, transferring 8 bytes per cycle running with a clock speed of 200 MHz = 200,000,000 cycles per second has a bandwidth of 200,000,000 × 2 × 8 = 3,200,000,000 B/s = 3.2 GB/s (about 2.98 GiB/s). [edit] SoftwareAs of 2008[update], most software does not distinguish symbols for binary and decimal units. The IEC binary naming convention has been adopted by some, but is not used universally. The binary convention is supported by standardization bodies and technical organizations such as IEEE, CIPM, NIST, and SAE.[4][2][5][60] The new binary prefixes have also been adopted by the European Committee for Electrotechnical Standardization (CENELEC) as the harmonization document HD 60027-2:2003-03.[61] This document will be adopted as a European standard.[62] Examples of software that use IEC standard prefixes (along with standard SI prefixes) include: One of the stated goals of the introduction of the binary prefixes was "to preserve the SI prefixes as unambiguous decimal multipliers."[5] Programs such as fdisk/cfdisk, parted, and apt-get use SI prefixes with their decimal meaning.
Example of the use of IEC units in the Linux operating system displaying traffic volume on a virtual network interface in mebibytes, as obtained with the ifconfig utility: lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:8094590 errors:0 dropped:0 overruns:0 frame:0 TX packets:8094590 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:606244076 (578.1 MiB) TX bytes:606244076 (578.1 MiB) [edit] Consumer confusionIn the early days of computers there was little or no consumer confusion because of the sophisticated nature of the consumers and the practice of computer manufacturers to specify their products with capacities in full precision, e.g., the 1968 IBM stated System 360 "Model 91s can accommodate up to 6 291 496 bytes of main storage."[84] Hard disk drive manufacturers used MB, i.e. 106 bytes, to characterize their products as early as 1974.[85] By 1977, in its first edition, Disk/Trend, a leading hard disk drive industry marketing consultancy segmented the industry according to MBs (decimal sense) of capacity.[86] The presentation of hard disk drive capacity by an operating system using MB in a binary sense appears no earlier than Macintosh Finder after 1984. Prior to that, on the systems that had a hard disk drive, capacity was presented in decimal digits with no prefix of any sort (e.g., MS/PC DOS CHKDSK command). The following three images show the discrepancy of reporting the identical disk capacity on the manufacturer's packaging (160 GB), the Windows XP disk manager (149.05 GB), and the drive properties display (152625 MB). Consumers are often confused by the differences in the reported values.
[edit] Legal disputesThere have been two significant class action lawsuits against digital storage manufactures. One case involved flash memory and the other involved hard disk drives. Both were settled with the manufactures agreeing to clarify the storage capacity of their products on the consumer packaging. [edit] Willem Vroegh v. Eastman Kodak CompanyOn 20 February 2004, Willem Vroegh filed a lawsuit against Lexar Media, Dane–Elec Memory, Fuji Photo Film USA, Eastman Kodak Company, Kingston Technology Company, Inc., Memorex Products, Inc.; PNY Technologies Inc., SanDisk Corporation, Verbatim Corporation, and Viking InterWorks alleging that their descriptions of the capacity of their flash memory cards were false and misleading. Vroegh claimed that a 256 MB Flash Memory Device had only 244 MB of accessible memory. "Plaintiffs allege that Defendants marketed the memory capacity of their products by assuming that one megabyte equals one million bytes and one gigabyte equals one billion bytes." The plaintiffs wanted the defendants to use the non-standard binary values 220 for megabyte and 230 for gigabyte. The plaintiffs acknowledged that the IEC and IEEE standards define a MB as one million bytes but stated that the industry has largely ignored the IEC standards.[87] The manufacturers agreed to clarify the flash memory card capacity on the packaging and web sites.[88] The consumers could apply for "a discount of ten percent off a future online purchase from Defendants' Online Stores Flash Memory Device".[89] [edit] Orin Safier v. Western Digital CorporationOn 7 July 2005, an action entitled "Orin Safier v. Western Digital Corporation, et al.," was filed in the Superior Court for the City and County of San Francisco, Case No. CGC-05-442812. The case was subsequently moved to the Northern District of California, Case No. 05-03353 BZ.[90] Although Western Digital maintained that their usage of units is consistent with "the indisputably correct industry standard for measuring and describing storage capacity", and that they "cannot be expected to reform the software industry", they agreed to settle in March 2006 with 14 June 2006 as the Final Approval hearing date.[91] Western Digital offered to compensate customers with a free download of backup and recovery software valued at US$30. They also paid $500,000 in fees and expenses to San Francisco lawyers Adam Gutride and Seth Safier, who filed the suit.[92] Western Digital had this footnote in their settlement. "Apparently, Plaintiff believes that he could sue an egg company for fraud for labeling a carton of 12 eggs a "dozen," because some bakers would view a "dozen" as including 13 items."[93] The settlement called for Western Digital to add a disclaimer;[92] flash memory and hard disk manufacturers have disclaimers on their packaging and web sites clarifying the formatted capacity of the flash memory[52] or defining MB as 1 million bytes and 1 GB as 1 billion bytes.[94] [edit] Specific units of IEC 60027-2 A.2 and ISO/IEC 80000
[edit] See also
[edit] References
[edit] Further reading
[edit] External links
[edit] Converters | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ↑ top of page ↑ | about thumbshots |