L-6 (External Memory)
L-6 (External Memory)
Computer Architecture
Cylinders
+
+ Disk
The head mechanism provides
a classification of disks into
Classification
three types
◼ Access time
◼ The sum of the seek time and the rotational delay
◼ The time it takes to get into position to read or write
◼ Transfer time
◼ Once the head is in position, the read or write operation is then
performed as the sector moves under the head
◼ This is the data transfer portion of the operation
Disk Performance Parameters
Disk Performance Parameters
Consider a disk with an advertised average seek time of 4 ms,
rotation speed of 15,000 rpm, and 512-byte sectors with 500
sectors per track. Suppose that we wish to read a file
consisting of 2500 sectors for a total of 1.28 Mbytes. Calculate
the total time for the transfer for both Sequential access
and Random access
Answer:
0.034 seconds for Sequential access
15.02 seconds for Random access
+ ◼ Consists of 7 levels
◼ Employs parallel access, with ◼ Once the failed drive is replaced, the
data distributed in small strips missing data can be restored on the
new drive and operation resumed
◼ Instead of an error correcting ◼ In the event of a disk failure, all of the
code, a simple parity bit is data are still available in what is
computed for the set of referred to as reduced mode
individual bits in the same
position on all of the data disks ◼ Return to full operation requires that
the failed disk be replaced and the
entire contents of the failed disk be
◼ Can achieve very high data regenerated on the new disk
transfer rates
◼ In a transaction-oriented environment
performance suffers
+ R
RAID a
Level 4 i
d
Characteristics Performance
Level 5 Level 6
i
d
Characteristics Characteristics
Memory
+
Figure 6.10
Flash Memory Operation
Solid State Drive (SSD)
A memory device
made with solid state Two distinctive
components that can
be used as a Flash memory types of flash
replacement to a hard memory:
disk drive (HDD) A type of
semiconductor NOR
memory used in many •The basic unit of access is a bit
consumer electronic •Provides high-speed random
products including access
•Used to store cell phone
smart phones, GPS operating system code and on
devices, MP3 players, Windows computers for the
The term solid digital cameras, and BIOS program that runs at
USB devices start-up
state refers to
electronic
circuitry built with
NAND
semiconductors Cost and
• The basic unit is 16 or 32 bits
performance has • Reads and writes in small blocks
evolved to the point • Used in USB flash drives, memory
where it is feasible to cards, and in SSDs
use to replace HDDs • Does not provide a random-
access external address bus so
the data must be read on a block-
wise basis
+
SSD
Organization
SSD Compared to HDD
SSDs have the following advantages over HDDs:
Table
◼ High-performance input/output operations per second
6.5
(IOPS)
◼ Durability
◼ Longer lifespan
+
+ Practical Issues
There are two practical issues peculiar to SSDs
that are not faced by HDDs:
◼ Flash memory becomes
◼ SDD performance has a unusable after a certain
tendency to slow down as the number of writes
device is used ◼ Techniques for prolonging
life:
◼ The entire block must be
◼ Front-ending the flash with a
read from the flash memory cache to delay and group
and placed in a RAM buffer write operations
◼ Using wear-leveling
◼ Before the block can be algorithms that evenly
written back to flash distribute writes across block
memory, the entire block of of cells
flash memory must be ◼ Bad-block management
techniques
erased
◼ Most flash devices estimate
◼ The entire block from the their own remaining lifetimes
buffer is now written back to so systems can anticipate
the flash memory failure and take preemptive
action
Table 6. 6
Optical
Disk
Products
+
Compact Disk Read-Only Memory
(CD-ROM)
◼ Audio CD and the CD-ROM share a similar technology
◼ The main difference is that CD-ROM players are more rugged and
have error correction devices to ensure that data are properly transferred
◼ Production:
◼ The disk is formed from a resin such as polycarbonate
◼ Digitally recorded information is imprinted as a series of microscopic pits on
the surface of the polycarbonate
◼ This is done with a finely focused, high intensity laser to create a master disk
◼ The master is used, in turn, to make a die to stamp out copies onto
polycarbonate
◼ The pitted surface is then coated with a highly reflective surface, usually
aluminum or gold
◼ This shiny surface is protected against dust and scratches by a top
coat of clear acrylic
◼ Finally a label can be silkscreened onto the acrylic
+
CD Operation
+
CD-ROM Block Format
+
◼ CD-ROM is appropriate for the distribution of large CD-ROM
amounts of data to a large number of users
◼ Serial recording
◼ Data are laid out as a sequence of bits along each track
Chapter 6
◼ RAID
◼ Magnetic disk
◼ RAID level 0
◼ Magnetic read and write
mechanisms ◼ RAID level 1
◼ Data organization and ◼ RAID level 2
formatting
◼ RAID level 3
◼ Physical characteristics
◼ Disk performance parameters
◼ RAID level 4
◼ RAID level 5
◼ Solid state drives ◼ RAID level 6
◼ Flash memory
◼ SSD compared to HDD ◼ Optical memory
◼ SSD organization ◼ Compact disk
◼ Practical issues
◼ Digital versatile disk