Prefixes for Binary Multiples*

Total Page:16

File Type:pdf, Size:1020Kb

Prefixes for Binary Multiples* OpenStax-CNX module: m13081 1 Prefixes for binary multiples* Rick Simpson This work is produced by OpenStax-CNX and licensed under the Creative Commons Attribution License 2.0 1 Prexes Almost all digital computers these days are binary, meaning that they deal with numbers expressed in binary rather than decimal. This means that memory addresses, and thus memory sizes, are also expressed in binary. Memory sizes are almost always nice, round numbers in binary, but not in decimal. Thus a computer with a 16-bit wide address can have up to 216 bytes of memory, which is 10,000,000,000,000,000 in binary and 65,536 in decimal. Early on it was observed that 210, which is 10,000,000,000 in binary, is 1024 in decimal. This isn't too far o from 1000 ("only" 2.4% o). Not only that, but 220 is close to a million, being equal to 1,048,576 in decimal. It became common to refer to "kilobytes" and "megabytes", where a "kilobyte" was really 1024 bytes and a "megabyte" was really 1,048,576 bytes. To those in scientic and technical disciplines other than computer science and computer engineering, though, "kilo" means 1000 and "mega" means 1,000,000. They don't mean about 1000 or approximately 1,000,000. Properly, all the SI prexes1 such as "kilo" and "mega" refer to powers of 10, not powers of 2. Lately the disparity caused by using power-of-ten names for power-of-two quantities has gotten worse because the numbers have gotten bigger. We now have even laptop computers with "gigabytes" of memory, and large server computers can have "terabytes" of disk space. How far o are we? When we say but mean we're this far o 1 kilobyte 210 bytes 2.4% 1 megabyte 220 bytes 4.9% 1 gigabyte 230 bytes 7.4% 1 terabyte 240 bytes 10.0% 1 petabyte 250 bytes 12.6% 1 exabyte 260 bytes 15.3% Table 1 *Version 1.1: Oct 21, 2005 10:52 pm -0500 http://creativecommons.org/licenses/by/2.0/ 1http://physics.nist.gov/cuu/Units/prexes.html http://cnx.org/content/m13081/1.1/ OpenStax-CNX module: m13081 2 Being o by 15% when talking about an "exabyte" means being o by about 1:5 × 1017 bytes, or 150 petabytes. To eliminate this imprecision and confusion, a set of prexes for binary multiples2 that closely parallel those for powers of 10 has been adopted as a standard by the International Electrotechnical Commission (IEC3 ). SI (Metric) Prexes Factor Name Symbol 103 kilo k 106 mega M 109 giga G 1012 tera T 1015 peta P 1018 exa E 1021 zetta Z 1024 yotta Y (a) IEC Binary Prexes Factor Name Symbol 210 kibi Ki 220 mebi Mi 230 gibi Gi 240 tebi Ti 250 pebi Pi 260 exbi Ei 270 280 (b) Figure 1: (a) Powers of 10 (b) Powers of 2 The binary symbols are just the SI symbols with an "i" for binary appended. The binary table only goes through 260, which is enough to handle the largest number in a 64-bit computer. There is even suggested pronounciation4 for the names: "KIH-bee" and "MEH-bee" for kibi and mebi, and similarly for the others. This standard was published by the IEC in 2000, but it appears to have had very little publicity and is almost certainly unknown to most people who deal with computers. Adoption of the new prexes and 2http://physics.nist.gov/cuu/Units/binary.html 3http://www.iec.ch 4http://physics.nist.gov/cuu/Units/binary.html http://cnx.org/content/m13081/1.1/ OpenStax-CNX module: m13081 3 names by the general population is likely to be slow in coming. Getting people to say "mebi bytes" and "gebi bytes" with a straight face may take even longer. 2 Links SI stands for le Système International d'Unités, or International System of Units, commonly called "the metric system" in English-speaking countries. The Bureau international des poids et mesures (BIPM)5 in Paris has a good description on their web site (in French and English). In the US, the National Institute of Standards and Technology (NIST)6 has web pages that describe the SI names and prexes7 and the binary names and prexes8 . 5http://www.bipm.fr/noash.html 6http://www.nist.gov 7http://physics.nist.gov/cuu/Units/prexes.html 8http://physics.nist.gov/cuu/Units/binary.html http://cnx.org/content/m13081/1.1/.
Recommended publications
  • How Many Bits Are in a Byte in Computer Terms
    How Many Bits Are In A Byte In Computer Terms Periosteal and aluminum Dario memorizes her pigeonhole collieshangie count and nagging seductively. measurably.Auriculated and Pyromaniacal ferrous Gunter Jessie addict intersperse her glockenspiels nutritiously. glimpse rough-dries and outreddens Featured or two nibbles, gigabytes and videos, are the terms bits are in many byte computer, browse to gain comfort with a kilobyte est une unité de armazenamento de armazenamento de almacenamiento de dados digitais. Large denominations of computer memory are composed of bits, Terabyte, then a larger amount of nightmare can be accessed using an address of had given size at sensible cost of added complexity to access individual characters. The binary arithmetic with two sets render everything into one digit, in many bits are a byte computer, not used in detail. Supercomputers are its back and are in foreign languages are brainwashed into plain text. Understanding the Difference Between Bits and Bytes Lifewire. RAM, any sixteen distinct values can be represented with a nibble, I already love a Papst fan since my hybrid head amp. So in ham of transmitting or storing bits and bytes it takes times as much. Bytes and bits are the starting point hospital the computer world Find arrogant about the Base-2 and bit bytes the ASCII character set byte prefixes and binary math. Its size can vary depending on spark machine itself the computing language In most contexts a byte is futile to bits or 1 octet In 1956 this leaf was named by. Pages Bytes and Other Units of Measure Robelle. This function is used in conversion forms where we are one series two inputs.
    [Show full text]
  • Bits and Bytes
    BITS AND BYTES To understand how a computer works, you need to understand the BINARY SYSTEM. The binary system is a numbering system that uses only two digits—0 and 1. Although this may seem strange to humans, it fits the computer perfectly! A computer chip is made up of circuits. For each circuit, there are two possibilities: An electric current flows through the circuit (ON), or An electric current does not flow through the circuit (OFF) The number 1 represents an “on” circuit. The number 0 represents an “off” circuit. The two digits, 0 and 1, are called bits. The word bit comes from binary digit: Binary digit = bit Every time the computer “reads” an instruction, it translates that instruction into a series of bits (0’s and 1’s). In most computers every letter, number, and symbol is translated into eight bits, a combination of eight 0’s and 1’s. For example the letter A is translated into 01000001. The letter B is 01000010. Every single keystroke on the keyboard translates into a different combination of eight bits. A group of eight bits is called a byte. Therefore, a byte is a combination of eight 0’s and 1’s. Eight bits = 1 byte Capacity of computer memory, storage such as USB devices, DVD’s are measured in bytes. For example a Word file might be 35 KB while a picture taken by a digital camera might be 4.5 MG. Hard drives normally are measured in GB or TB: Kilobyte (KB) approximately 1,000 bytes MegaByte (MB) approximately 1,000,000 (million) bytes Gigabtye (GB) approximately 1,000,000,000 (billion) bytes Terabyte (TB) approximately 1,000,000,000,000 (trillion) bytes The binary code that computers use is called the ASCII (American Standard Code for Information Interchange) code.
    [Show full text]
  • Bit, Byte, and Binary
    Bit, Byte, and Binary Number of Number of values 2 raised to the power Number of bytes Unit bits 1 2 1 Bit 0 / 1 2 4 2 3 8 3 4 16 4 Nibble Hexadecimal unit 5 32 5 6 64 6 7 128 7 8 256 8 1 Byte One character 9 512 9 10 1024 10 16 65,536 16 2 Number of bytes 2 raised to the power Unit 1 Byte One character 1024 10 KiloByte (Kb) Small text 1,048,576 20 MegaByte (Mb) A book 1,073,741,824 30 GigaByte (Gb) An large encyclopedia 1,099,511,627,776 40 TeraByte bit: Short for binary digit, the smallest unit of information on a machine. John Tukey, a leading statistician and adviser to five presidents first used the term in 1946. A single bit can hold only one of two values: 0 or 1. More meaningful information is obtained by combining consecutive bits into larger units. For example, a byte is composed of 8 consecutive bits. Computers are sometimes classified by the number of bits they can process at one time or by the number of bits they use to represent addresses. These two values are not always the same, which leads to confusion. For example, classifying a computer as a 32-bit machine might mean that its data registers are 32 bits wide or that it uses 32 bits to identify each address in memory. Whereas larger registers make a computer faster, using more bits for addresses enables a machine to support larger programs.
    [Show full text]
  • Fastgrnn: a Fast, Accurate, Stable and Tiny Kilobyte Sized Gated Recurrent Neural Network
    FastGRNN: A Fast, Accurate, Stable and Tiny Kilobyte Sized Gated Recurrent Neural Network Aditya Kusupatiy, Manish Singhx, Kush Bhatiaz, Ashish Kumarz, Prateek Jainy and Manik Varmay yMicrosoft Research India xIndian Institute of Technology Delhi zUniversity of California Berkeley {t-vekusu,prajain,manik}@microsoft.com, [email protected] [email protected], [email protected] Abstract This paper develops the FastRNN and FastGRNN algorithms to address the twin RNN limitations of inaccurate training and inefficient prediction. Previous ap- proaches have improved accuracy at the expense of prediction costs making them infeasible for resource-constrained and real-time applications. Unitary RNNs have increased accuracy somewhat by restricting the range of the state transition matrix’s singular values but have also increased the model size as they require a larger num- ber of hidden units to make up for the loss in expressive power. Gated RNNs have obtained state-of-the-art accuracies by adding extra parameters thereby resulting in even larger models. FastRNN addresses these limitations by adding a residual connection that does not constrain the range of the singular values explicitly and has only two extra scalar parameters. FastGRNN then extends the residual connec- tion to a gate by reusing the RNN matrices to match state-of-the-art gated RNN accuracies but with a 2-4x smaller model. Enforcing FastGRNN’s matrices to be low-rank, sparse and quantized resulted in accurate models that could be up to 35x smaller than leading gated and unitary RNNs. This allowed FastGRNN to accurately recognize the "Hey Cortana" wakeword with a 1 KB model and to be deployed on severely resource-constrained IoT microcontrollers too tiny to store other RNN models.
    [Show full text]
  • 1 Configuring SATA Controllers A
    RAID Levels RAID 0 RAID 1 RAID 5 RAID 10 Minimum Number of Hard ≥2 2 ≥3 ≥4 Drives Array Capacity Number of hard Size of the smallest (Number of hard (Number of hard drives * Size of the drive drives -1) * Size of drives/2) * Size of the smallest drive the smallest drive smallest drive Fault Tolerance No Yes Yes Yes To create a RAID set, follow the steps below: A. Install SATA hard drive(s) in your computer. B. Configure SATA controller mode in BIOS Setup. C. Configure a RAID array in RAID BIOS. (Note 1) D. Install the SATA RAID/AHCI driver and operating system. Before you begin, please prepare the following items: • At least two SATA hard drives or M.2 SSDs (Note 2) (to ensure optimal performance, it is recommended that you use two hard drives with identical model and capacity). (Note 3) • A Windows setup disk. • Motherboard driver disk. • A USB thumb drive. 1 Configuring SATA Controllers A. Installing hard drives Connect the SATA signal cables to SATA hard drives and the Intel® Chipset controlled SATA ports (SATA3 0~5) on the motherboard. Then connect the power connectors from your power supply to the hard drives. Or install your M.2 SSD(s) in the M.2 connector(s) on the motherboard. (Note 1) Skip this step if you do not want to create RAID array on the SATA controller. (Note 2) An M.2 PCIe SSD cannot be used to set up a RAID set either with an M.2 SATA SSD or a SATA hard drive.
    [Show full text]
  • Introduction to Hard Disk (HDD)
    Introduction to Hard Disk (HDD) A hard drive is a mass storage device found in all PCs (with some - [exclusions) that is used to store permanent data such as the operating system, programs and user files. The data on hard drives can be erased and/or overwritten, the hard drive is classed as a non-volatile storage device which means it doesn't require a constant power supply in order to retain the information stored on it (unlike RAM). Inside every hard drive are small round disk-like objects made of either an aluminium/alloy or a glass/ceramic composite, these are called platters, each platter is coated with a special magnetic coating enabling them to store data magnetically. Hovering above these platters are read/write heads that transfer data to and from the platters. Hard Drive Capacities Hard drives come with many different storage capacities, hard drive capacity is measured in bytes, with common capacities being stated in MB (Megabytes) and GB (Gigabytes). To understand these figures correctly you need to know the basics of how data is stored/processed in digital systems such as PCs. Digital data is a series of 1's (ones) and 0's (zeroes) which are referred to as bits (Binary digITs), a byte is made up of 8 of these bits, so a single byte of data may look like 01001011 (8 consecutive bits). 1 Bit = either a 0 (zero) or a 1 (one) 1 Byte = 8 bits 1 KB (Kilobyte) = 1024 bytes (210) 1 MB (Megabyte) = 1024 Kilobytes (220) 1 GB (Gigabyte) = 1024 Megabytes (230) 1 TB (Terabyte) = 1024 Gigabytes (240) In the old days it was common to find hard drives with a capacity of just 5MB, nowadays it is hard to buy a new hard drive with less than 40GB, that's 40,960 Megabytes ! Common hard drive capacities these days range from 40GB up to and exceeding 120GB.
    [Show full text]
  • Hard Disk Drive Specifications Models: 2R015H1 & 2R010H1
    Hard Disk Drive Specifications Models: 2R015H1 & 2R010H1 P/N:1525/rev. A This publication could include technical inaccuracies or typographical errors. Changes are periodically made to the information herein – which will be incorporated in revised editions of the publication. Maxtor may make changes or improvements in the product(s) described in this publication at any time and without notice. Copyright © 2001 Maxtor Corporation. All rights reserved. Maxtor®, MaxFax® and No Quibble Service® are registered trademarks of Maxtor Corporation. Other brands or products are trademarks or registered trademarks of their respective holders. Corporate Headquarters 510 Cottonwood Drive Milpitas, California 95035 Tel: 408-432-1700 Fax: 408-432-4510 Research and Development Center 2190 Miller Drive Longmont, Colorado 80501 Tel: 303-651-6000 Fax: 303-678-2165 Before You Begin Thank you for your interest in Maxtor hard drives. This manual provides technical information for OEM engineers and systems integrators regarding the installation and use of Maxtor hard drives. Drive repair should be performed only at an authorized repair center. For repair information, contact the Maxtor Customer Service Center at 800- 2MAXTOR or 408-922-2085. Before unpacking the hard drive, please review Sections 1 through 4. CAUTION Maxtor hard drives are precision products. Failure to follow these precautions and guidelines outlined here may lead to product failure, damage and invalidation of all warranties. 1 BEFORE unpacking or handling a drive, take all proper electro-static discharge (ESD) precautions, including personnel and equipment grounding. Stand-alone drives are sensitive to ESD damage. 2 BEFORE removing drives from their packing material, allow them to reach room temperature.
    [Show full text]
  • Table of Contents
    Table of Contents Configuring SATA Hard Drive(s) (Controller: nVIDIA nForce4 SLI) ...................................................2 (1) Installing SATA hard drive(s) in your computer ......................................................................2 (2) Configuring SATA controller mode and boot sequence in BIOS Setup ..................................2 (3) Configuring RAID set in RAID BIOS ........................................................................................6 (4) Making a SATA controller driver disk .....................................................................................9 (5) Installing SATA controller driver during OS installation ......................................................... 11 (6) Configuring a bootable RAID array with Microsoft Windows 2000 ......................................14 Ác Configuring SATA Hard Drive(s) (Controller: nVIDIA nForce4 SLI) Åé ¤¤ ¤å To configure SATA hard drive(s), follow the steps below: (1) Install SATA hard drive(s) in your system. (2) Configure SATA controller mode and boot sequence in BIOS Setup. (3)* Configure RAID set in RAID BIOS. (4) Make a floppy disk containing the SATA controller driver. (5) Install the SATA controller driver during OS installation. Before you begin Please prepare: (a) At least two SATA hard drives (to ensure optimal performance, it is recommended that you use two hard drives with identical model and capacity). If you do not want to create RAID, you may prepare only one hard drive. (b) An empty formatted floppy disk. (c) Windows XP/2000 setup disk. (d) Driver CD for your motherboard. (1) Installing SATA hard drive(s) in your computer Attach one end of the SATA signal cable to the rear of the SATA hard drive and the other end to available SATA port(s) on the motherboard. If there are more than one SATA controller on your motherboard, you may refer to the motherboard user's manual to identify the SATA controller for the connector.
    [Show full text]
  • Prefixes for Binary Multiples
    Definitions of the SI units: The binary prefixes Page 1 of 3 Return to Prefixes for binary multiples Units home page In December 1998 the International Electrotechnical Commission (IEC), the leading international organization for worldwide Units standardization in electrotechnology, approved as an IEC Topics: International Standard names and symbols for prefixes for binary Introduction multiples for use in the fields of data processing and data Units transmission. The prefixes are as follows: Prefixes Outside Prefixes for binary multiples Rules Background Factor Name Symbol Origin Derivation 210 kibi Ki kilobinary: (210)1 kilo: (103)1 Units 220 mebi Mi megabinary: (210)2 mega: (103)2 Bibliography 230 gibi Gi gigabinary: (210)3 giga: (103)3 Constants, 240 tebi Ti terabinary: (210)4 tera: (103)4 Units & 50 pebi Pi 10 5 3 5 Uncertainty 2 petabinary: (2 ) peta: (10 ) home page 260 exbi Ei exabinary: (210)6 exa: (103)6 Examples and comparisons with SI prefixes one kibibit 1 Kibit = 210 bit = 1024 bit one kilobit 1 kbit = 103 bit = 1000 bit one mebibyte 1 MiB = 220 B = 1 048 576 B one megabyte 1 MB = 106 B = 1 000 000 B one gibibyte 1 GiB = 230 B = 1 073 741 824 B one gigabyte 1 GB = 109 B = 1 000 000 000 B It 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." It is important to recognize that the new prefixes for binary multiples are not part of the International System of Units (SI), the modern metric system.
    [Show full text]
  • Megabytes, Gigabytes, Terabytes… What Are They?
    Megabytes, Gigabytes, Terabytes… What Are They? These terms are usually used in the world of computing to describe disk space, or data storage space, and system memory. For instance, just a few years ago we were describing hard drive space using the term Megabytes. Today it is not uncommon to hear the term Gigabytes to describe a hard drive. In the not so distant future, Terabyte will be a common term. But what are they? This is where it turns into a nightmare because there are at least three accepted definitions of each term. According to the IBM Dictionary of computing, when used to describe disk storage capacity, a megabyte is 1,000,000 bytes in decimal notation. According to the Microsoft Press Computer Dictionary, a megabyte means either 1,000,000 bytes or 1,048,576 bytes. According to Eric S. Raymond in The New Hacker's Dictionary, a megabyte is always 1,048,576 bytes on the argument that bytes should naturally be computed in powers of two. So which definition do most people conform to? When referring to a megabyte for disk storage, the hard drive manufacturers use the standard that a megabyte is 1,000,000 bytes. This means that when you buy an 80 Gigabyte Hard drive you will get a total of 80,000,000,000 bytes of available storage. This is where it gets confusing because Windows uses the 1,048,576 byte rule so when you look at the Windows drive properties an 80 Gigabyte drive will report a capacity of 74.56 Gigabytes.
    [Show full text]
  • 40 Megabyte 5 1/4" Winchester Disk Drive from Computer Memories
    40 Megabyte 5 1/4" Winchester Disk Drive From Computer Memories CM 6000 features: Capacities of 13.34, 26.67 and 40 megabytes unformatted. 40 millisecond average access time Closed loop servo positioner 10.5 megabytes formatted data per platter Proven Winchester tech- nology Identical mounting to standard 5l /4" floppy drives Interface compatible with readily available controllers Internal microprocessor Step-pulse buffering Head velocity profile control Optimized temperature compensation High output, high resolu­ tion heads All electronics and motors located outside clean area Head parking zone CM 6000 disk drive, product infor­ CM 6000 Specifications mation. The Computer Memories series of Winchester technology disk Performance Specifications: drives offers high storage capacities CM-6213 CM-6426 CM-6640 in a minifloppy size package. The CM 6000 series is available in 13.34, 26.67 and 40 M Byte versions, all with average access time of only 40 Msec. By means of a combination of Winchester technology and proven design techniques, the OEM is assured of the ultimate in quality and reliability. In order to ease system integration, the CM 6000 has the same physical dimensions and mounting hole loca­ tions as a standard 5l /4" floppy disk drive. DC voltage requirements are also the same as a mini-floppy drive thus enabling the use of a single power supply for both types of drives. Functional Specifications: The high capacities of the CM 6000 are achieved by the utilization of a closed loop servo positioning system, on-board microprocessor, and manga­ nese-zinc heads — unique in such a small device. The combination of the swing-arm actuator, associated elec­ tronics, and head allow the CM 6000 to achieve a track density of 720TPI Physical Specifications: and bit density of 9275 BPI.
    [Show full text]
  • Bit Nibble Byte Kilobyte (KB) Megabyte (MB) Gigabyte
    Bit A bit is a value of either a 1 or 0 (on or off). Nibble A Nibble is 4 bits. Byte Today, a Byte is 8 bits. 1 character, e.g. "a", is one byte. Kilobyte (KB) A Kilobyte is 1,024 bytes. 2 or 3 paragraphs of text. Megabyte (MB) A Megabyte is 1,048,576 bytes or 1,024 Kilobytes 873 pages of plaintext (1,200 characters) 4 books (200 pages or 240,000 characters) Gigabyte (GB) A Gigabyte is 1,073,741,824 (230) bytes. 1,024 Megabytes, or 1,048,576 Kilobytes. 894,784 pages of plaintext (1,200 characters) 4,473 books (200 pages or 240,000 characters) 640 web pages (with 1.6MB average file size) 341 digital pictures (with 3MB average file size) 256 MP3 audio files (with 4MB average file size) 1 650MB CD Terabyte (TB) A Terabyte is 1,099,511,627,776 (240) bytes, 1,024 Gigabytes, or 1,048,576 Megabytes. 916,259,689 pages of plaintext (1,200 characters) 4,581,298 books (200 pages or 240,000 characters) 655,360 web pages (with 1.6MB average file size) 349,525 digital pictures (with 3MB average file size) 262,144 MP3 audio files (with 4MB average file size) 1,613 650MB CD's 233 4.38GB DVD's 40 25GB Blu-ray discs Petabyte (PB) A Petabyte is 1,125,899,906,842,624 (250) bytes, 1,024 Terabytes, 1,048,576 Gigabytes, or 1,073,741,824 Megabytes. 938,249,922,368 pages of plaintext (1,200 characters) 4,691,249,611 books (200 pages or 240,000 characters) 671,088,640 web pages (with 1.6MB average file size) 357,913,941 digital pictures (with 3MB average file size) 268,435,456 MP3 audio files (with 4MB average file size) 1,651,910 650MB CD's 239,400 4.38GB DVD's 41,943 25GB Blu-ray discs Exabyte (EB) An Exabyte is 1,152,921,504,606,846,976 (260) bytes, 1,024 Petabytes, 1,048,576 Terabytes, 1,073,741,824 Gigabytes, or 1,099,511,627,776 Megabytes.
    [Show full text]