Lec 5 - External Memory
Lec 5 - External Memory
Magnetic Disk
A disk is a circular platter constructed of nonmagnetic material, called substrate,
coated with a magnetizable material.
-Traditionally, substrate has been an aluminum or aluminum alloy material.
-More recently, glass substrates have been introduced. Benefits are:
- Improve surface uniformity to produce better reliability.
- Reduction in surface defects to reduce read/write errors.
- Greater ability to resist damages.
Magnetic Read and Write Mechanisms
- Data are recorded on and later retrieved from the disk via a conducting
coil named the head.
- In many systems, there are two heads, a read head and a write head.
- During a read or write operation, the head is stationary while the platter
rotates beneath it.
In the write mechanism, electricity flows through a coil to produce a magnetic
field.
-Electric pulses are sent to the write head, and the resulting magnetic patterns
are recorded on the surface below, with different patterns for positive and
negative currents.
-Reversing the direction of the current reverses the direction of the
magnetization on the recording medium.
The major physical characteristics that differentiate among the various types of
magnetic disks are:
1.Head Motion
-The head may either be fixed (one per track) or movable (one per surface) with
respect to the radial direction of the platter.
-In a fixed-head disk, there is one read-write head per track. All of the heads are
mounted on a rigid arm that extends across all tracks; such systems are rare
today.
-In a movable-head disk, there is only one read-write head. The head is mounted
on an arm and it is positioned on the tracks.
2.Disk Portability
-A non removable disk is permanently mounted in the disk drive. Hard disk is
an example for a non removable disk.
-A removable disk can be removed and replaced with another disk. The
advantage is that unlimited amounts of data are available with a limited number
of disk systems.
-Furthermore, such a disk may be moved from one computer system to another.
Floppy disks and ZIP cartridge disks are examples of removable disks.
3.Sides
-For most disks, the magnetizable coating is applied to both sides of the platter,
which is then referred to as double-sided.
-Some less expensive disk systems use single-sided disks.
4.Platters
-Multiple-platter disks employ a movable head, with one read-write head per
platter surface. All of the heads are mechanically fixed so that all are at the same
distance from the center of the disk and move together.
-Thus, at any time, all of the heads are positioned over tracks that are of equal
distance from the center of the disk.
-Single-platter disks employ only a single platter.
- The RAID strategy employs multiple disk drives and distributes data in
such a way as to enable simultaneous access to data from multiple drives,
thereby improving I/O performance.
- Although allowing multiple heads and actuators to operate
simultaneously achieves higher I/O and transfer rates, the use of
multiple devices increases the probability of failure.
- To compensate for this decreased reliability, RAID makes use of stored
parity information that enables the recovery of data lost due to a disk
failure.
RAID 0 (Level 0)
It is not a true member of RAID, because it does not include redundancy to
improve performance. The user and system data are striped across all of the disks
in the array.
A set of logically consecutive strips that maps exactly one strip to each array
member is referred to as a stripe.
Array management software is used to map logical and physical disk space. This
software may execute either in the disk subsystem or in a host computer.
This has a notable advantage over the use of a single large disk: If two different
I/O requests are pending for two different blocks of data, then there is a good
chance that the requested blocks are on different disks. Thus, the two requests
can be issued in parallel, reducing the I/O queuing time.
RAID 1 (Mirrored)
Redundancy is achieved by the simply duplicating all the data.
CD Recordable (CD-R)
It is a write-once read-many CD. It is prepared in such a way that it can be
subsequently written once with a laser beam of modest intensity.Thus, with a
COMPUTER ORGANIZATION: COMP 121: LECTURE 5 Page 11
somewhat more expensive disk controller than for CD-ROM, the customer can
write once as well as read the disk.
For a CD-R, medium includes a dye layer which is used to change reflectivity
and is activated by a high-density laser.
CD-R disk can be read on a CD-R drive or a CD-ROM drive. The CD-R optical
disk is attractive for archival storage of documents and files. It provides a
permanent record of large volumes of user data.
CD Rewritable (CD-RW)
Can be repeatedly written and overwritten. It uses an approach called phase
change. The phase change disk uses a material that has two significantly different
reflectivity in two different phase states.
A beam of laser light can change the material from one phase to the other.
Magnetic Tape
Flash Memory
Flash memories are also used very widely as external storage devices.
- Memory cards are the most commonly used implementation of
flash memories. They are used in lots of devices such as MP3
players, mobile phones and digital cameras.
- Card readers are used for writing and reading a memory card in
computers.