How storage devices works


Computer storage overview

Computer storage, computer memory, andshown in the diagram will inevitably be
often casually memory refer to computerexceeded with advances in technology
components, devices and recording mediaover time.)
that retain data for some interval ofSecondary and off-line storage
time. Computer storage provides one ofSecondary storage requires the computer
the core functions of the modernto use its input/output channels to
computer, that of information retention.access the information, and is used for
It is one of the fundamental componentslong-term storage of persistent
of all modern computers, and coupledinformation. However most computer
with a central processing unit (CPU),operating systems also use secondary
implements the basic Von Neumannstorage devices as virtual memory - to
computer model used since the 1940s.artificially increase the apparent
In contemporary usage, memory usuallyamount of main memory in the computer.
refers to a form of solid state storageSecondary storage is also known as "mass
known as random access memory (RAM) andstorage", as shown in the diagram above.
sometimes other forms of fast butSecondary or mass storage is typically
temporary storage. Similarly, storageof much greater capacity than primary
more commonly refers to mass storage -storage (main memory), but it is also
optical discs, forms of magnetic storagemuch slower. In modern computers, hard
like hard disks, and other types ofdisks are usually used for mass storage.
storage which are slower than RAM, butThe time taken to access a given byte of
of a more permanent nature. Theseinformation stored on a hard disk is
contemporary distinctions are helpful,typically a few thousandths of a second,
because they are also fundamental to theor milliseconds. By contrast, the time
architecture of computers in general. Astaken to access a given byte of
well, they reflect an important andinformation stored in random access
significant technical difference betweenmemory is measured in
memory and mass storage devices, whichthousand-millionths of a second, or
has been blurred by the historical usagenanoseconds. This illustrates the very
of the terms "main storage" (andsignificant speed difference which
sometimes "primary storage") for randomdistinguishes solid-state memory from
access memory, and "secondary storage"rotating magnetic storage devices: hard
for mass storage devices. This isdisks are typically about a million
explained in the following sections, intimes slower than memory. Rotating
which the traditional "storage" termsoptical storage devices, such as CD and
are used as sub-headings forDVD drives, are typically even slower
convenience.than hard disks, although their access
The fundamental components of aspeeds are likely to improve with
general-purpose computer are arithmeticadvances in technology. Therefore, the
and logic unit, control circuitry,use of virtual memory, which is millions
storage space, and input/output devices.of times slower than "real" memory,
If storage was removed, the device wesignificantly degrades the performance
had would be a simple digital signalof any computer. Virtual memory is
processing device (e.g. calculator,implemented by many operating systems
media player) instead of a computer. Theusing terms like swap file or "cache
ability to store instructions that formfile". The main historical advantage of
a computer program, and the informationvirtual memory was that it was much less
that the instructions manipulate is whatexpensive than real memory. That
makes stored program architectureadvantage is less relevant today, yet
computers versatile.surprisingly most operating systems
A digital computer representscontinue to implement it, despite the
information using the binary numeralsignificant performance penalties.
system. Text, numbers, pictures, audio,Off-line storage is a system where the
and nearly any other form of informationstorage medium can be easily removed
can be converted into a string of bits,from the storage device. Off-line
or binary digits, each of which has astorage is used for data transfer and
value of 1 or 0. The most common unit ofarchival purposes. In modern computers,
storage is the byte, equal to 8 bits. ACDs, DVDs, memory cards, flash memory
piece of information can be manipulateddevices including "USB drives", floppy
by any computer whose storage space isdisks, Zip disks and magnetic tapes are
large enough to accommodate thecommonly used for off-line mass storage
corresponding data, or the binarypurposes. "Hot-pluggable" USB hard disks
representation of the piece ofare also available. Off-line storage
information. For example, a computerdevices used in the past include punched
with a storage space of eight millioncards, microforms, and removable
bits, or one megabyte, could be used toWinchester disk drums.
edit a small novel.Tertiary and database storage
Various forms of storage, based onTertiary storage is a system where a
various natural phenomena, have beenrobotic arm will "mount" (connect) or
invented. So far, no practical universal"dismount" off-line mass storage media
storage medium exists, and all forms of(see the next item) according to the
storage have some drawbacks. Therefore acomputer operating system's demands.
computer system usually contains severalTertiary storage is used in the realms
kinds of storage, each with anof enterprise storage and scientific
individual purpose, as shown in thecomputing on large computer systems and
diagram.business computer networks, and is
Primary storagesomething a typical personal computer
Primary storage is directly connected touser never sees firsthand.
the central processing unit of theDatabase storage is a system where
computer. It must be present for the CPUinformation in computers is stored in
to function correctly, just as in alarge databases, data banks, data
biological analogy the lungs must bewarehouses, or data vaults. It involves
present (for oxygen storage) for thepacking and storing large amounts of
heart to function (to pump and oxygenatestorage devices throughout a series of
the blood). As shown in the diagram,shelves in a room, usually an office,
primary storage typically consists ofall linked together. The information in
three kinds of storage:database storage systems can be accessed
Processor registers are internal to theby a supercomputer, mainframe computer,
central processing unit. Registersor personal computer. Databases, data
contain information that the arithmeticbanks, and data warehouses, etc, can
and logic unit needs to carry out theonly be accessed by authorized users.
current instruction. They areNetwork storage
technically the fastest of all forms ofNetwork storage is any type of computer
computer storage, being switchingstorage that involves accessing
transistors integrated on the CPU'sinformation over a computer network.
silicon chip, and functioning asNetwork storage arguably allows to
electronic "flip-flops".centralize the information management in
Cache memory is a special type ofan organization, and to reduce the
internal memory used by many centralduplication of information. Network
processing units to increase theirstorage includes:
performance or "throughput". Some of theNetwork-attached storage is secondary or
information in the main memory istertiary storage attached to a computer
duplicated in the cache memory, which iswhich another computer can access at
slightly slower but of much greaterfile level over a local-area network, a
capacity than the processor registers,private wide-area network, or in the
and faster but much smaller than maincase of online file storage, over the
memory. Multi-level cache memory is alsoInternet.
commonly used—"primary cache" beingStorage area network provides other
smallest, fastest and closest to thecomputers with storage capacity over a
processing device; "secondary cache"network, the crucial difference between
being larger and slower, but stillnetwork-attached storage (NAS) and
faster and much smaller than mainstorage area Networks (SAN) is the
memory.former presents and manages file systems
Main memory contains the programs thatto client computers, whilst a SAN
are currently being run and the data theprovides access to disks at block
programs are operating on. In modernaddressing level, leaving it to
computers, the main memory is theattaching systems to manage data or file
electronic solid-state random accesssystems within the provided capacity.
memory. It is directly connected to theNetwork computers are computers that do
CPU via a "memory bus" (shown in thenot contain internal secondary storage
diagram) and a "data bus". Thedevices. Instead, documents and other
arithmetic and logic unit can verydata are stored on a network-attached
quickly transfer information between astorage.
processor register and locations in mainConfusingly, these terms are sometimes
storage, also known as a "memoryused differently. Primary storage can be
addresses". The memory bus is alsoused to refer to local random-access
called an address bus or front side busdisk storage, which should properly be
and both busses are high-speed digitalcalled secondary storage. If this type
"superhighways". Access methods andof storage is called primary storage,
speed are two of the fundamentalthen the term secondary storage would
technical differences between memory andrefer to offline, sequential-access
mass storage devices. (Note that allstorage like tape media.
memory sizes and storage capacities



1 A B C D 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110