Units of information
In digital computing and telecommunications, a unit of information is the capacity of some standard data storage system or communication channel, used to measure the capacities of other systems and channels. In information theory, units of information are also used to measure information contained in messages and the entropy of random variables.
The most commonly used units of data storage capacity are the bit, the capacity of a system that has only two states, and the byte (or octet), which is equivalent to eight bits. Multiples of these units can be formed from these with the SI prefixes (power-of-ten prefixes) or the newer IEC binary prefixes (power-of-two prefixes).
Primary units
Units of information |
In 1928, Ralph Hartley observed a fundamental storage principle,[1] which was further formalized by Claude Shannon in 1945: the information that can be stored in a system is proportional to the logarithm of N possible states of that system, denoted logb N. Changing the base of the logarithm from b to a different number c has the effect of multiplying the value of the logarithm by a fixed constant, namely logc N = (logc b) logb N. Therefore, the choice of the base b determines the unit used to measure information. In particular, if b is a positive integer, then the unit is the amount of information that can be stored in a system with b possible states.
When b is 2, the unit is the shannon, equal to the information content of one "bit" (a portmanteau of binary digit[2]). A system with 8 possible states, for example, can store up to log2 8 = 3 bits of information. Other units that have been named include:
- Base b = 3
- the unit is called "trit", and is equal to log2 3 (≈ 1.585) bits.[3]
- Base b = 10
- the unit is called decimal digit, hartley, ban, decit, or dit, and is equal to log2 10 (≈ 3.322) bits.[1][4][5][6]
- Base b = e, the base of natural logarithms
- the unit is called a nat, nit, or nepit (from Neperian), and is worth log2 e (≈ 1.443) bits.[1]
The trit, ban, and nat are rarely used to measure storage capacity; but the nat, in particular, is often used in information theory, because natural logarithms are mathematically more convenient than logarithms in other bases.
Units derived from bit
Several conventional names are used for collections or groups of bits.
Byte
Historically, a byte was the number of bits used to encode a character of text in the computer, which depended on computer hardware architecture; but today it almost always means eight bits – that is, an octet. A byte can represent 256 (28) distinct values, such as non-negative integers from 0 to 255, or signed integers from −128 to 127. The IEEE 1541-2002 standard specifies "B" (upper case) as the symbol for byte (IEC 80000-13 uses "o" for octet in French,[nb 1] but also allows "B" in English, which is what is actually being used). Bytes, or multiples thereof, are almost always used to specify the sizes of computer files and the capacity of storage units. Most modern computers and peripheral devices are designed to manipulate data in whole bytes or groups of bytes, rather than individual bits.
Nibble
A group of four bits, or half a byte, is sometimes called a nibble, nybble or nyble. This unit is most often used in the context of hexadecimal number representations, since a nibble has the same amount of information as one hexadecimal digit.[7]
Crumb
A group of two bits or a quarter byte was called a crumb,[8] and it was often used in early 8-bit computing (see Atari 2600, ZX Spectrum).[citation needed] It is now largely defunct.
Word, block, and page
Computers usually manipulate bits in groups of a fixed size, conventionally called words. The number of bits in a word is usually defined by the size of the registers in the computer's CPU, or by the number of data bits that are fetched from its main memory in a single operation. In the IA-32 architecture more commonly known as x86-32, a word is 32 bits, but other past and current architectures use words with 4, 8, 9, 12, 13, 16, 18, 20, 21, 22, 24, 25, 29, 30, 31, 32, 33, 35, 36, 38, 39, 40, 42, 44, 48, 50, 52, 54, 56, 60, 64, 72[9] bits or others.
Some machine instructions and computer number formats use two words (a "double word" or "dword"), or four words (a "quad word" or "quad").
Computer memory caches usually operate on blocks of memory that consist of several consecutive words. These units are customarily called cache blocks, or, in CPU caches, cache lines.
Virtual memory systems partition the computer's main storage into even larger units, traditionally called pages.
Systematic multiples
Terms for large quantities of bits can be formed using the standard range of SI prefixes for powers of 10, e.g., kilo = 103 = 1000 (as in kilobit or kbit), mega = 106 = 1000000 (as in megabit or Mbit) and giga = 109 = 1000000000 (as in gigabit or Gbit). These prefixes are more often used for multiples of bytes, as in kilobyte (1 kB = 8000 bit), megabyte (1 MB = 8000000bit), and gigabyte (1 GB = 8000000000bit).
However, for technical reasons, the capacities of computer memories and some storage units are often multiples of some large power of two, such as 228 = 268435456 bytes. To avoid such unwieldy numbers, people have often repurposed the SI prefixes to mean the nearest power of two, e.g., using the prefix kilo for 210 = 1024, mega for 220 = 1048576, and giga for 230 = 1073741824, and so on. For example, a random access memory chip with a capacity of 228 bytes would be referred to as a 256-megabyte chip. The table below illustrates these differences.
Symbol | Prefix | SI Meaning | Binary meaning | Size difference |
---|---|---|---|---|
k | kilo | 103 = 10001 | 210 = 10241 | 2.40% |
M | mega | 106 = 10002 | 220 = 10242 | 4.86% |
G | giga | 109 = 10003 | 230 = 10243 | 7.37% |
T | tera | 1012 = 10004 | 240 = 10244 | 9.95% |
P | peta | 1015 = 10005 | 250 = 10245 | 12.59% |
E | exa | 1018 = 10006 | 260 = 10246 | 15.29% |
Z | zetta | 1021 = 10007 | 270 = 10247 | 18.06% |
Y | yotta | 1024 = 10008 | 280 = 10248 | 20.89% |
R | ronna | 1027 = 10009 | 290 = 10249 | 23.79% |
Q | quetta | 1030 = 100010 | 2100 = 102410 | 26.77% |
In the past, uppercase K has been used instead of lowercase k to indicate 1024 instead of 1000. However, this usage was never consistently applied.
On the other hand, for external storage systems (such as optical discs), the SI prefixes are commonly used with their decimal values (powers of 10). Many attempts have sought to resolve the confusion by providing alternative notations for power-of-two multiples. In 1998 the International Electrotechnical Commission (IEC) issued a standard for this purpose by defining a series of binary prefixes that use 1024 instead of 1000 as the main radix:[10]
Symbol | Prefix | |||
---|---|---|---|---|
Ki | kibi, binary kilo | 1 kibibyte (KiB) | 210 bytes | 1024 B |
Mi | mebi, binary mega | 1 mebibyte (MiB) | 220 bytes | 1024 KiB |
Gi | gibi, binary giga | 1 gibibyte (GiB) | 230 bytes | 1024 MiB |
Ti | tebi, binary tera | 1 tebibyte (TiB) | 240 bytes | 1024 GiB |
Pi | pebi, binary peta | 1 pebibyte (PiB) | 250 bytes | 1024 TiB |
Ei | exbi, binary exa | 1 exbibyte (EiB) | 260 bytes | 1024 PiB |
The JEDEC memory standard JESD88F notes that the definitions of kilo (K), giga (G), and mega (M) based on powers of two are included only to reflect common usage, but are otherwise deprecated.[11]
Size examples
- 1 bit: Answer to a yes/no question
- 1 byte: A number from 0 to 255
- 90 bytes: Enough to store a typical line of text from a book
- 512 bytes = 0.5 KiB: The typical sector of a hard disk
- 1024 bytes = 1 KiB: The classical block size in UNIX filesystems
- 2048 bytes = 2 KiB: A CD-ROM sector
- 4096 bytes = 4 KiB: A memory page in x86 (since Intel 80386)
- 4 kB: About one page of text from a novel
- 120 kB: The text of a typical pocket book
- 1 MiB: A 1024×1024 pixel bitmap image with 256 colors (8 bpp color depth)
- 3 MB: A three-minute song (133 kbit/s)
- 650–900 MB – a CD-ROM
- 1 GB: 114 minutes of uncompressed CD-quality audio at 1.4 Mbit/s
- 32/64/128 GB: Three common sizes of USB flash drives
- 6 TB: The size of a $100 hard disk (as of early 2022)
- 20 TB: Largest hard disk drive (as of early 2022)
- 100 TB: Largest commercially available solid state drive (as of early 2022)
- 200 TB: Largest solid state drive constructed (prediction for mid 2022)
- 1.3 ZB: Prediction of the volume of the whole internet in 2016
Template:Anchor (or Anchors): too many anchors, maximum is tenObsolete and unusual units
Several other units of information storage have been named:
- 1 bit: unibit,[12][13] sniff[citation needed]
- 2 bits: dibit,[14][15][12][16] crumb,[8] quartic digit,[17] quad, quarter, taste, tayste, tidbit, tydbit, lick, lyck, semi-nibble, snort, nyp[18]
- 3 bits: tribit,[14][15][12] triad,[19] triade,[20][21] tribble
- 4 bits: character (on Intel 4004[22] – however, characters are typically 8 bits wide or larger on other processors), for others see nibble
- 5 bits: pentad, pentade,[23] nickel, nyckle[citation needed]
- 6 bits: byte (in early IBM machines using BCD alphamerics), hexad, hexade,[23][24] sextet[19]
- 7 bits: heptad, heptade[23]
- 8 bits: octet, commonly also called byte
- 9 bits: nonet,[25] rarely used
- 10 bits: declet,[26][27][28][29] decle,[30] deckle, dyme[citation needed]
- 12 bits: slab[31][32][33]
- 15 bits: parcel (on CDC 6600 and CDC 7600)
- 16 bits: doublet,[34] wyde,[3][35] parcel (on Cray-1), plate, playte, chomp, chawmp (on a 32-bit machine)[36]
- 18 bits: chomp, chawmp (on a 36-bit machine)[36]
- 32 bits: quadlet,[34][37][38] tetra,[35] dinner, dynner, gawble (on a 32-bit machine)[citation needed]
- 48 bits: gobble, gawble (under circumstances that remain obscure)[citation needed]
- 64 bits: octlet,[34] octa[35]
- 96 bits: bentobox (in ITRON OS)
- 128 bits: hexlet[34][39]
- 16 bytes: paragraph (on Intel x86 processors)[40][41]
- 256 bytes: page (on Intel 4004,[22] 8080 and 8086 processors,[40] also many other 8-bit processors – typically much larger on many 16-bit/32-bit processors)
- 6 trits: tryte[42]
- combit, comword[43][44][45]
Some of these names are jargon, obsolete, or used only in very restricted contexts.
See also
- Metric prefix
- File size
- ISO 80000-13 (Quantities and units — Part 13: Information science and technology)
Notes
References
- ↑ 1.0 1.1 1.2 Information theory and coding. McGraw-Hill. 1963.
- ↑ Coded Character Sets, History and Development (1 ed.). Addison-Wesley Publishing Company, Inc.. 1980. p. xii. ISBN 0-201-14460-3. https://books.google.com/books?id=6-tQAAAAMAAJ. Retrieved 2016-05-22. [1]
- ↑ 3.0 3.1 The Art of Computer Programming: Seminumerical algorithms. 2. Addison Wesley.
- ↑ Shanmugam (2006). Digital and Analog Computer Systems.
- ↑ Quantum information: an overview. 2007. https://www.springer.com/physics/quantum+physics/book/978-0-387-35725-6.
- ↑ Comprehensive Statistical Theory of Communication. 2001.
- ↑ Nybble at dictionary reference.com; sourced from Jargon File 4.2.0, accessed 2007-08-12
- ↑ 8.0 8.1 "Crumb". MathWorld. http://mathworld.wolfram.com/Crumb.html.
- ↑ "Chapter I. Integer arithmetic". The Mathematical-Function Computation Handbook - Programming Using the MathCW Portable Software Library (1 ed.). Salt Lake City, UT, US: Springer International Publishing AG. 2017-08-22. p. 970. doi:10.1007/978-3-319-64110-2. ISBN 978-3-319-64109-6.
- ↑ ISO/IEC standard is ISO/IEC 80000-13:2008. This standard cancels and replaces subclauses 3.8 and 3.9 of IEC 60027-2:2005. The only significant change is the addition of explicit definitions for some quantities. ISO Online Catalogue
- ↑ JEDEC Solid State Technology Association (February 2018). "Dictionary of Terms for Solid State Technology – 7th Edition". JESD88F. https://www.jedec.org/standards-documents/docs/jesd-88c.
- ↑ 12.0 12.1 12.2 Webster's New World Telecom Dictionary. John Wiley & Sons. 2007. p. 402. ISBN 9-78047022571-4. https://books.google.com/books?id=L18YaEomzjMC&pg=PA402.
- ↑ "Unibit". http://www.yourdictionary.com/unibit#computer.
- ↑ 14.0 14.1 (in de) Taschenbuch der Nachrichtenverarbeitung (2 ed.). Berlin / Heidelberg / New York: Springer-Verlag OHG. 1967. pp. 835–836. Title No. 1036.
- ↑ 15.0 15.1 (in de) Taschenbuch der Informatik - Band III - Anwendungen und spezielle Systeme der Nachrichtenverarbeitung. 3 (3 ed.). Berlin / Heidelberg / New York: Springer Verlag. 1974. pp. 357–358. ISBN 3-540-06242-4.
- ↑ Theory of magnetic recording (1 ed.). Cambridge University Press. 1994. 9-780521-449731. ISBN 0-521-44973-1. "[…] The writing of an impulse would involve writing a dibit or two transitions arbitrarily closely together. […]"
- ↑ Control Data 8092 TeleProgrammer: Programming Reference Manual. Minneapolis, Minnesota, US: Control Data Corporation. 1964. IDP 107a. http://bitsavers.org/pdf/cdc/809x/IDP107a_8092pgmRef_1964.pdf. Retrieved 2020-07-27.
- ↑ The Art of Computer Programming: Cobinatorial Algorithms part 1. 4a. Addison Wesley.
- ↑ 19.0 19.1 Advanced Logical Circuit Design Techniques (retyped electronic reissue ed.). Garland STPM Press (original issue) / WhitePubs Enterprises, Inc. (reissue). 2016. ISBN 0-8240-7014-3. http://www.donnamaie.com/Advanced_logic_ckt/Advanced_Logical_Circuit_Design_Techniques%20sm.pdf. Retrieved 2017-04-15. [2][3]
- ↑ (in de) Elektrotechnik und Elektronik für Informatiker - Grundgebiete der Elektronik. 2. B.G. Teubner Stuttgart / Springer. 2013. ISBN 978-3-32296652-0. https://books.google.com/books?id=-fzKBgAAQBAJ. Retrieved 2015-08-03.
- ↑ Reichenbach, Jürgen, ed (2013-07-02) (in de). Programmierung von Prozeßrechnern. Reihe Automatisierungstechnik. 79. VEB Verlag Technik (de) Berlin, reprint: Springer Verlag. doi:10.1007/978-3-663-02721-8. 9/3/4185. ISBN 978-3-663-00808-8. https://books.google.com/books?id=T-S0BgAAQBAJ.
- ↑ 22.0 22.1 "Terms And Abbreviations / 4.1 Crossing Page Boundaries". MCS-4 Assembly Language Programming Manual - The INTELLEC 4 Microcomputer System Programming Manual (Preliminary ed.). Santa Clara, California, US: Intel Corporation. December 1973. pp. v, ((2-6)), ((4-1)). MCS-030-1273-1. http://bitsavers.trailing-edge.com/components/intel/MCS4/MCS-4_Assembly_Language_Programming_Manual_Dec73.pdf. Retrieved 2020-03-02. "[…] Bit - The smallest unit of information which can be represented. (A bit may be in one of two states I 0 or 1). […] Byte - A group of 8 contiguous bits occupying a single memory location. […] Character - A group of 4 contiguous bits of data. […] programs are held in either ROM or program RAM, both of which are divided into pages. Each page consists of 256 8-bit locations. Addresses 0 through 255 comprise the first page, 256-511 comprise the second page, and so on. […]" (NB. This Intel 4004 manual uses the term character referring to 4-bit rather than 8-bit data entities. Intel switched to use the more common term nibble for 4-bit entities in their documentation for the succeeding processor 4040 in 1974 already.)
- ↑ 23.0 23.1 23.2 (in de) Digitale Rechenanlagen - Grundlagen / Schaltungstechnik / Arbeitsweise / Betriebssicherheit (2 ed.). ETH Zürich, Zürich, Switzerland: Springer-Verlag / IBM. 1965. pp. 6, 34, 165, 183, 208, 213, 215. 0978.
- ↑ Steinbuch, Karl W., ed (1962). written at Karlsruhe, Germany (in de). Taschenbuch der Nachrichtenverarbeitung (1 ed.). Berlin / Göttingen / New York: Springer-Verlag OHG. p. 1076.
- ↑ RFC 4042: UTF-9 and UTF-18. 2005.
- ↑ IEEE Standard for Floating-Point Arithmetic. 2008-08-29. pp. 1–70. doi:10.1109/IEEESTD.2008.4610935. ISBN 978-0-7381-5752-8. http://ieeexplore.ieee.org/servlet/opac?punumber=4610933. Retrieved 2016-02-10.
- ↑ Handbook of Floating-Point Arithmetic (1 ed.). Birkhäuser. 2010. doi:10.1007/978-0-8176-4705-6. ISBN 978-0-8176-4704-9. https://cds.cern.ch/record/1315760.
- ↑ Erle, Mark A. (2008-11-21). Algorithms and Hardware Designs for Decimal Multiplication (Thesis). Lehigh University (published 2009). ISBN 978-1-10904228-3. 1109042280. Retrieved 2016-02-10.
- ↑ Numbers and Computers. Springer Verlag. 2015. 3319172603. ISBN 9783319172606. https://books.google.com/books?id=FPlICAAAQBAJ. Retrieved 2016-02-10.
- ↑ "AS1600 Quick-and-Dirty Documentation". http://spatula-city.org/~im14u2c/intv/jzintv-1.0-beta3/doc/utilities/as1600.txt.
- ↑ "315 Electronic Data Processing System". NCR. November 1965. http://www.thecorememory.com/NCR_315_EDPS.pdf.
- ↑ "NCR 315 Seminar". Computer Usage Communique 2 (3). 1963. http://www.thecorememory.com/NCR_315_Seminar.pdf.
- ↑ (in de) Datenverarbeitungs-Lexikon (softcover reprint of hardcover 1st ed.). Wiesbaden, Germany: Springer Fachmedien Wiesbaden GmbH / Betriebswirtschaftlicher Verlag Dr. Th. Gabler GmbH. 2013. pp. 201, 308. doi:10.1007/978-3-663-13618-7. ISBN 978-3-409-31831-0. https://books.google.com/books?id=3aN9BwAAQBAJ. Retrieved 2016-05-24. "[…] slab, Abk. aus syllable = Silbe, die kleinste adressierbare Informationseinheit für 12 bit zur Übertragung von zwei Alphazeichen oder drei numerischen Zeichen. (NCR) […] Hardware: Datenstruktur: NCR 315-100 / NCR 315-RMC; Wortlänge: Silbe; Bits: 12; Bytes: –; Dezimalziffern: 3; Zeichen: 2; Gleitkommadarstellung: fest verdrahtet; Mantisse: 4 Silben; Exponent: 1 Silbe (11 Stellen + 1 Vorzeichen) […] [slab, abbr. for syllable = syllable, smallest addressable information unit for 12 bits for the transfer of two alphabetical characters or three numerical characters. (NCR) […] Hardware: Data structure: NCR 315-100 / NCR 315-RMC; Word length: Syllable; Bits: 12; Bytes: –; Decimal digits: 3; Characters: 2; Floating point format: hard-wired; Significand: 4 syllables; Exponent: 1 syllable (11 digits + 1 prefix)]"
- ↑ 34.0 34.1 34.2 34.3 IEEE Standard for a 32-bit Microprocessor Architecture. The Institute of Electrical and Electronics Engineers, Inc.. 1995. pp. 5–7. doi:10.1109/IEEESTD.1995.79519. ISBN 1-55937-428-4. http://ieeexplore.ieee.org/servlet/opac?punumber=3435. Retrieved 2016-02-10. (NB. The standard defines doublets, quadlets, octlets and hexlets as 2, 4, 8 and 16 bytes, giving the numbers of bits (16, 32, 64 and 128) only as a secondary meaning. This might be important given that bytes were not always understood to mean 8 bits (octets) historically.)
- ↑ 35.0 35.1 35.2 Fascicle 1: MMIX (0th printing, 15th ed.). Stanford University: Addison-Wesley. 2004-02-15. http://profs.scienze.univr.it/~manca/storia-informatica/mmix.pdf. Retrieved 2017-03-30.
- ↑ 36.0 36.1 Raymond, Eric S. (1996). The New Hacker's Dictionary (3 ed.). MIT Press. p. 333. ISBN 0262680920.
- ↑ Zinterhof, Peter; Vajteršic, Marian; Uhl, Andreas, eds (February 1999). "Parallel Cluster Computing with IEEE1394–1995". written at Salzburg, Austria. Parallel Computation: 4th International ACPC Conference including Special Tracks on Parallel Numerics (ParNum '99) and Parallel Computing in Image Processing, Video Processing, and Multimedia. Berlin, Germany: Springer Verlag.
- ↑ (in fr) Calculatrices. 14 (2 ed.). Lausanne: Presses polytechniques romandes. 1986. ISBN 2-88074054-1. https://books.google.com/books?id=3hGZ2qxxby8C&pg=PR3.
- ↑ "Proceedings". Symposium on Experiences with Distributed and Multiprocessor Systems (SEDMS). 4. USENIX Association. 1993.
- ↑ 40.0 40.1 "1. Introduction: Segment Alignment". 8086 Family Utilities - User's Guide for 8080/8085-Based Development Systems (A620/5821 6K DD ed.). Santa Clara, California, US: Intel Corporation. May 1982. p. 1-6. Order Number: 9800639-04. http://bitsavers.trailing-edge.com/pdf/intel/ISIS_II/9800639-04E_8086_Famility_Utilities_Users_Guide_May82.pdf. Retrieved 2020-02-29.
- ↑ Microprocessors - A Programmer's View (1 ed.). Courant Institute, New York University, New York, US: McGraw-Hill Publishing Company. 1990. p. 85. ISBN 0-07-016638-2. (xviii+462 pages)
- ↑ "Development of ternary computers at Moscow State University". http://www.computer-museum.ru/english/setun.htm.
- ↑ Malinowski, Christopher W.; Heinz Rinderle & Martin Siegle, "Three-state signaling system", US patent 4319227, issued 1982-03-09
- ↑ "US4319227". Google. http://www.google.com/patents/US4319227.
- ↑ "US4319227". Patentimages. http://patentimages.storage.googleapis.com/pdfs/US4319227.pdf.
External links
- Representation of numerical values and SI units in character strings for information interchanges
- Bit Calculator – Make conversions between bits, bytes, kilobits, kilobytes, megabits, megabytes, gigabits, gigabytes, terabits, terabytes, petabits, petabytes, exabits, exabytes, zettabits, zettabytes, yottabits, yottabytes.
- Paper on standardized units for use in information technology
- Data Byte Converter
- High Precision Data Unit Converters
Original source: https://en.wikipedia.org/wiki/Units of information.
Read more |