Professional Documents
Culture Documents
William Stallings Computer Organization and Architecture 9 Edition
William Stallings Computer Organization and Architecture 9 Edition
William Stallings
Computer Organization
and Architecture
9th Edition
2
+ Chapter 6
External Memory
+ 3
Magnetic Disk
Read Head
6
Disk
Data
Layout
Disk Layout Methods Diagram 7
+ 8
to compensate for the variation in speed so that the head can read all the bits at
the same rate.
The information can then be scanned at the same rate by rotating the disk at a
fixed speed, known as the constant angular velocity (CAV).
The advantage of using CAV is that individual blocks of data can be directly
addressed by track and sector.
To move the head from its current location to a specific address, it only takes a
short movement of the head to a specific track and a short wait for the proper
sector to spin under the head.
The disadvantage of CAV is that the amount of data that can be stored on the
long outer tracks is the only same as what can be stored on the short inner
tracks.
+ 9
Within a zone, the number of bits per track is constant. Zones farther
from the center contain more bits (more sectors) than zones closer to
the center.
As the disk head moves from one zone to another, the length (along
the track) of individual bits changes, causing a change in the timing
for reads and writes.
Winchester Disk Format 10
Seagate ST506
+ Table 6.1 11
Physical Characteristics
of Disk Systems
Characteristics
Fixed-head disk
One read-write head per track Removable disk
Heads are mounted on a fixed Can be removed and replaced
ridged arm that extends across with another disk
all tracks Advantages:
Unlimited amounts of data are
Movable-head disk available with a limited number of
disk systems
One read-write head
A disk may be moved from one
Head is mounted on an arm computer system to another
The arm can be extended or Floppy disks and ZIP cartridge
retracted disks are examples of
removable disks
Non-removable disk
Permanently mounted in the Double sided disk
disk drive
The hard disk in a personal Magnetizable coating is applied
computer is a non-removable to both sides of the platter
disk
+
Multiple
Platters
14
Tracks
Cylinders
To read or write the head must be positioned at the desired track and at the beginning
of the desired sector on the track
Track selection involves moving the head in a movable-head system or electronically
selecting one head on a fixed-head system
Once the track is selected, the disk controller waits until the appropriate sector rotates to
line up with the head
Seek time
On a movable–head system, the time it takes to position the head at the track
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
+ Consists of 7 levels
RAID Levels
0, 1, 2
23
RAID
Levels
3, 4, 5, 6
Data Mapping for a RAID Level 0 Array 24
+ RAID
Addresses the issues of request patterns of
the host system and layout of the data
R
25
a
Level 0 Impact of redundancy does not interfere
with analysis i
d
RAID 0 for High Data Transfer
Capacity
RAID 0 for High I/O Request Rate
For applications to experience 0
a high transfer rate two
For an individual I/O request for a
requirements must be met:
small amount of data the I/O time
1. A high transfer capacity must
is dominated by the seek time and
exist along the entire path rotational latency
between host memory and the
individual disk drives A disk array can provide high I/O
execution rates by balancing the
2. The application must make I/O I/O load across multiple disks
requests that drive the disk
array efficiently If the strip size is relatively large
multiple waiting I/O requests can
be handled in parallel, reducing
the queuing time for each request
+ 26
R
RAID a
Level 1 i
d
Characteristics Positive Aspects
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
+ 29
R
RAID a
Level 4 i
d
Characteristics Performance
RAID RAID a
Level 5 Level 6
i
d
Characteristics Characteristics
Table 6.4
RAID
Comparison
(page 1 of 2)
32
Table 6.4
RAID
Comparison
(page 2 of 2)
33
Flash
Memory
+
Figure 6.10
Flash Memory Operation
Solid State Drive (SSD) 34
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
smart phones, GPS •Used to store cell phone
operating system code and on
devices, MP3 players, Windows computers for the
digital cameras, and BIOS program that runs at start-
USB devices up
The term solid state
refers to electronic
circuitry built with NAND
semiconductors • The basic unit is 16 or 32 bits
Cost and performance • Reads and writes in small blocks
has evolved to the • Used in USB flash drives,
memory cards, and in SSDs
point where it is • Does not provide a random-
feasible to use to access external address bus so
replace HDDs the data must be read on a
block-wise basis
35
Durability
Longer lifespan
+
+
SSD
Organization
+ Practical Issues 37
Table 6. 6
Optical
Disk
Products
+ 39
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
+ 40
CD Operation
+ 41
CD Recordable CD Rewritable
(CD-R) (CD-RW)
Write-once read-many Can be repeatedly written and
overwritten
Accommodates applications in Phase change disk uses a material that
which only one or a small has two significantly different
number of copies of a set of data reflectivities in two different phase states
is needed Amorphous state
Optical Disks
+ 46
Magnetic Tape
Tape systems use the same reading and recording techniques as
disk systems
Serial recording
Data are laid out as a sequence of bits along each track
Table 6.7
LTO Tape Drives
+ Summary
49
External Memory
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
RAID level 4
Disk performance parameters
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