![Page 1: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/1.jpg)
CSIT 301 (Blum) 1
Disk Drives
![Page 2: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/2.jpg)
CSIT 301 (Blum) 2
Hard drive• In our original view of a computer as being
comprised of ALU, Control, Memory, Input and Output, the hard drive is a device connected either as input or output.
• But the hard drive is also sometimes viewed as a logical extension of memory.
• The hard drive is the primary storage device. – Compared to RAM, storage is non-volatile
– Compared to ROM, storage is more easily written.
![Page 3: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/3.jpg)
Solid State Drive (SSD)
CSIT 301 (Blum) 3
![Page 4: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/4.jpg)
CSIT 301 (Blum) 4
Speed and Capacity
• The two main characteristics of a hard drive are – Its capacity: how much data can it hold– Its speed: how quickly can it be read from or
written to • Data intensive applications such as databases,
graphics and so on will require pages to swapped in and out of memory. The speed of the hard drive will be an important factor for determining how efficiently such programs run.
![Page 5: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/5.jpg)
CSIT 301 (Blum) 5
Analog of Moore
• Recall that Moore’s Law concerns the exponential growth of the number of transistors on an integrated chip.
• There has been similar exponential growth in the capacity of hard drives.
![Page 6: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/6.jpg)
CSIT 301 (Blum) 6
Exponential Improvement in Hard Drive Capacity
![Page 7: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/7.jpg)
CSIT 301 (Blum) 7
Paper Tape and Cards
• Prior to hard drives, programs and data could be stored on cards or paper tape.
• In both cases a hole could correspond to a 1 and the absence of a hole to a 0.
![Page 8: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/8.jpg)
CSIT 301 (Blum) 8
Magnetic Tape
• Magnetic tape was an improvement upon punch cards and paper tape, both in terms of speed and capacity.
• In magnetic tape, a long thin piece of plastic is covered with a ferromagnetic material, such as Ferric oxide (Fe2O3).
![Page 9: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/9.jpg)
CSIT 301 (Blum) 9
Magnetic Tapes versus Hard drives
• The writing or reading of a individual bit is similar whether we are talking about a hard drive or a magnetic tape.
• The difference is one of addressing: – Magnetic tapes have sequential access – Hard drives have random access
![Page 10: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/10.jpg)
CSIT 301 (Blum) 10
Magnets
• Little magnets align themselves in a particular way when in the presence of a magnetic field – E.g. a compass points North because it is a
magnet aligning itself with the Earth’s magnetic field
![Page 11: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/11.jpg)
CSIT 301 (Blum) 11
Ferromagnetic• Many atoms are like tiny little magnets, but the
little magnets point in random directions and tend to cancel out any magnetic effect on a large scale.
• An external magnetic field can make these little magnets line up and produce a large-scale (macroscopic) effect.
• If the little magnets remain aligned even when the external magnetic field is removed, then the material is said to be ferromagnetic.
• The lining up of the magnets is called magnetization. • A ferromagnetic material “holds” or “remembers” its
magnetization state.
![Page 12: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/12.jpg)
CSIT 301 (Blum) 12
Writing/Recording
• The signal (data changing over time) is fed to a magnet which magnetizes the material on the region of the tape that corresponds to that time. – The tape may record analog or digital
information.
![Page 13: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/13.jpg)
CSIT 301 (Blum) 13
Reading/Playing
• The magnetized region produces a magnetic field of its own.
• Any device that can sense this magnetic field can read the information encoded on the tape.
• It is important to note that the reading device (head) does not have to be in physical contact with the tape in order to sense the tape region’s magnetic field – just in its vicinity.
![Page 14: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/14.jpg)
CSIT 301 (Blum) 14
Floating height/Flying height
• As opposed to floppies, VCR and cassette tapes, hard disk heads do not come in contact with the medium they are reading from or writing to.
• The distance the head is from the material is one of the important design parameters and is known as the floating height or flying height.
![Page 15: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/15.jpg)
CSIT 301 (Blum) 15
Reading, Sensitivity and Density• As the heads are made sensitive to smaller magnetic
fields, the region corresponding to a unit of information can be made smaller.
• Also as the heads are made to approach the material more closely (where the field is stronger) without touching it, the region corresponding to a unit of information can be made smaller.
• If the regions grow smaller, the number of such regions per area (the density) increases. – There are other ways to measure density, so this version is
sometimes called the areal density.
![Page 16: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/16.jpg)
CSIT 301 (Blum) 16
Exponential Improvement in Hard Drive Density
The units for areal density are bits per square inch (BPSI) or in this case MBPSI (mega)
![Page 17: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/17.jpg)
CSIT 301 (Blum) 17
Shrinking Bit Size
![Page 18: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/18.jpg)
CSIT 301 (Blum) 18
IBM RAMAC• To get a sense of this improvement, consider an
early disk drive. • One of the first commercially available hard disks
was IBM's RAMAC (Random Access Method of Accounting and Control) introduced in 1956. – Capacity: about 5 MB
– Used 50 24" disks!!!!!!!!
– Areal density: 2,000 bits per square inch
– Data throughput: 8,800 bits/s.
![Page 19: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/19.jpg)
CSIT 301 (Blum) 19
Form Factor
• The areal density improvement has allowed the capacity to increase while the size has decreased.
• Drive’s form factors (basically their width and height) have continued to grow smaller and smaller.
• The 5.25-inch width was a standard. It came in three standard heights– Full-height: 3.25 inch– Half-height: 1.625 inch– Third height: 1 inch
![Page 20: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/20.jpg)
CSIT 301 (Blum) 20
3.5 inch Form Factor
• But now the 3.5-inch width has replaced it as the standard in PCs.
• This width comes in two standard heights – Third height: 1-inch which is standard (slim-line)
– Half-height: 1.625-inch which is used for higher capacity drives
• Besides the overall benefits of miniaturization, smaller widths allow the platters to spin faster and thus help improve the speed.
![Page 21: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/21.jpg)
CSIT 301 (Blum) 21
Platters and Spindle Speed• Instead of the long plastic strip of magnetic tape,
hard disks have a collection of circular shaped aluminum or glass platters (which serve as the substrate) that are covered with magnetic material (the media layer).
• Data is accessed by having the head float over the platter as its spins. – Access speed is thus related to rotational or spindle speed
which is measured in RPM (revolutions per minute). – Spindle speeds in the thousands to tens of thousands are
typical these days.
![Page 22: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/22.jpg)
CSIT 301 (Blum) 22
Hard versus floppy disk
• The disks in a hard drive are fairly rigid and hence the name “hard” disk.
• The disk in a floppy disk is made of a more flexible material.
![Page 23: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/23.jpg)
CSIT 301 (Blum) 23
![Page 24: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/24.jpg)
CSIT 301 (Blum) 24
Anatomy of a Hard Drive• The data is stored on platters: hard, flat circular-
shaped piece of aluminum coated with magnetic material on one or both sides.
• The spindle serves as a rotational axis for the platters.
• The rotational motion is driven by the spindle motor.
• The information is accessed by a read/write head. – Typically there are two heads per platter, one on the
top, one on the bottom.
![Page 25: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/25.jpg)
CSIT 301 (Blum) 25
Anatomy of a Hard Drive (Cont.)• The head is attached to a part called the slider,
which is in turn attached to the actuator arm, which is used to position the head in the desired region.
• The position of the actuator arm is controlled by the actuator.
• There is actually a parallel array of heads which are moved in unison by the actuator.
• The actuator in controlled by the logic board which communicates the rest of the PC.
![Page 26: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/26.jpg)
CSIT 301 (Blum) 26
![Page 27: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/27.jpg)
CSIT 301 (Blum) 27
Don’t try this at home
• Reading requires the head to come very, very close to the platter without touching it.
• Hard drives should not be opened because a typical speck of dust is larger than the head-to-platter reading distance.
• Opening a drive will almost assuredly ruin it. – Head crash: when the head touches the platter
![Page 28: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/28.jpg)
CSIT 301 (Blum) 28
Dust particle versus Flying Height
![Page 29: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/29.jpg)
CSIT 301 (Blum) 29
Tracks• In both hard and
floppy disks, the data is written in concentric circular paths known as tracks
• Floppy disks had 80 (double-density) or 160 (high-density) tracks.
track
![Page 30: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/30.jpg)
CSIT 301 (Blum) 30
Tracks (cont.)
• The density of tracks is measured in units of tracks per inch (TPI).
• Each track is further divided into sectors.
• The location of information is remembered by noting its track and sector numbers.
![Page 31: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/31.jpg)
CSIT 301 (Blum) 31
Sectors
• Radial lines break the tracks up into sectors, each of which holds 512 bytes of information.
Sector
A floppy typically had 17 sectors per track
![Page 32: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/32.jpg)
CSIT 301 (Blum) 32
Not all sectors are created equal
• A sector on the outer portion of the platter has a greater area than a sector on the inner portion. – More and more of the storage area is wasted as
one moves out in the radial direction. – More modern drive technologies divide the
outer tracks into more sectors to make use of this storage area.
![Page 33: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/33.jpg)
CSIT 301 (Blum) 33
Zoned Bit Recording
• Zoned bit recording (ZBR), a.k.a. multiple zone recording or zone recording.
• Tracks are broken into groups called zones based on their radial position. Tracks with greater radii are broken into more sectors so that storage area is not wasted. – Requires more sophisticated controller.
![Page 34: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/34.jpg)
CSIT 301 (Blum) 34
Larger Radius, Faster Access
• In ZBR, the outer tracks have more sectors and thus hold more data, but the data is accessed by the spinning of the disk. So more data goes by per revolution when reading the outer tracks.
• The outer tracks tend to be used first. So disk access performance may go down as one starts to use the inner/slower tracks.
![Page 35: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/35.jpg)
CSIT 301 (Blum) 35
ZBR
![Page 36: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/36.jpg)
CSIT 301 (Blum) 36
Cylinders• Each platter has tracks with the various radii. • All the tracks on different platters but with the
same radius make up a cylinder. • For example, if a hard drive has
– Four platters– And each platter has 600 tracks
• Then – There will be 600 cylinders– Each cylinder will have 8 tracks (assuming that each
platter has tracks on both sides).
![Page 37: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/37.jpg)
CSIT 301 (Blum) 37
Why cylinders are important
• If the data being written does not fit in a single track, it can be spread across the cylinder.
• Activating different heads (at the same radius/cylinder) is an electronic process and thus is faster than moving the arm to a new radius, which is a mechanical process and thus slow.
![Page 38: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/38.jpg)
Cylinder snapping
• When a drive is partitioned, the partitions are “snapped” to cylinders so that a cylinder is not shared by more than one partition.
CSIT 301 (Blum) 38
![Page 39: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/39.jpg)
CSIT 301 (Blum) 39
Defragmentation makes reading files from disk drives more efficient by keeping related data together on the drive. Together means same track, then same cylinder, then consecutive cylinders
![Page 40: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/40.jpg)
CSIT 301 (Blum) 40
Accessing a disk
1. The combination of application, operating system, BIOS and possibly disk interface circuitry determine the location of the data on the hard disk.
2. The location corresponds to a geometric location on the disk. One needs to know
A. The cylinder which determines the radius or track. B. The head which determines which platter and which
side of the platter. C. The sector which determines where along the track.
![Page 41: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/41.jpg)
CSIT 301 (Blum) 41
Accessing a disk (Cont.)3. See if the information is cached before starting
the slower process of accessing it on the drive. 4. If the drive is not already spinning, it must be
“spun up” to its working rotational speed. It might have been “spun down” to save energy.
5. The actuator moves the heads to the appropriate cylinder (track, radial position).
6. The actuator then selects the appropriate head and waits until the selected sector passes by the head. It then reads.
![Page 42: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/42.jpg)
CSIT 301 (Blum) 42
Accessing a disk (Cont.)
7. The information is read and placed temporarily into a buffer.
8. The hard disk interface then sends the data to some other part of the PC, in most cases the memory.
![Page 43: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/43.jpg)
CSIT 301 (Blum) 43
Cache on the Hard Disk
• The hard disk has a cache/buffer. – After requesting data from the hard drive, one does not
sit by idly waiting for the result. One carries on with whatever else possible. The result of the read is placed in a buffer and picked up when the processor/memory is ready to take it.
– When reading, one also grabs the data in the neighboring sectors and places it in the buffer (pre-fetching). This is the standard idea of caching something you expect to need soon based on locality of reference.
![Page 44: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/44.jpg)
CSIT 301 (Blum) 44
Size and Distinction
• The cache on the hard disk is typically between 512 KB and 2 MB. – Some SCSI drives may have as much as 16
MB.
• Be careful not to confuse the cache on the hard drive with “disk cache” which refers to a section of main memory used to hold data recently read from the hard drive.
![Page 45: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/45.jpg)
CSIT 301 (Blum) 45
Command overhead time
• Command overhead time is the time it takes from when the hard drive is given the read instruction to when the actuator starts positioning the head– Since this is an electronic time as opposed to
the mechanical seek time, it is much smaller and does not contribute much to the access time.
![Page 46: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/46.jpg)
CSIT 301 (Blum) 46
Seek and ye shall find, but be quick about it
• Seek time is the time required to position the head to the selected cylinder. – Typical seek times are in milliseconds (ms) – Recall that processor times are in nanoseconds
(ns, approx. a million times smaller) and memory times are in microseconds (s, approx. a thousand times smaller).
• Seek time is not access time, but is probably the major part thereof.
![Page 47: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/47.jpg)
CSIT 301 (Blum) 47
Versions of Seek Time
• Average: from a random track to another random track– This is what is typically reported – 8 – 10 ms
• Track-to-track: from one track to the adjacent track
• Full stroke: the full range from the innermost to outermost track
![Page 48: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/48.jpg)
CSIT 301 (Blum) 48
Settle Time
• After the head has reached the appropriate cylinder (track, radius), it must take a short amount of time to stabilize before reading can occur.
• This time is called the settle time or settling time. • It is short compared to seek time and does not
vary much from manufacturer to manufacturer.
![Page 49: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/49.jpg)
CSIT 301 (Blum) 49
Latency
• After the instructions have been interpreted and the actuator begins to move (command overhead) and the head has reached the selected cylinder (seek) and has stabilized (settle), it is still not ready to read.
• It must wait until the selected sector rotates past the head. This time is called the latency.
![Page 50: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/50.jpg)
CSIT 301 (Blum) 50
Latency and Spindle Speed
• The time it must wait for the correct sector to swing by clearly depends on how fast the disks are rotating – the spindle speed.– If the spindles rotates at 10,000 RPM (revolutions per
minute), then it rotates at speed of 10,000/60 = 166.7 revolutions per second.
– If there are 166.7 revolutions per second, then a revolution takes 1/166.7 seconds = 0.006 s or 6 ms.
– The average latency is half of the rotation time or in this case 3 ms.
![Page 51: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/51.jpg)
CSIT 301 (Blum) 51
PCGuide table
![Page 52: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/52.jpg)
CSIT 301 (Blum) 52
Ordering the to-do list
• Because the hard drive is slower than the processor and memory, there may be a back up of tasks for it to perform. The order in which it performs these tasks can greatly affect its efficiency.
• One ordering is a simple FIFO (first-in, first-out) ordering. The tasks (reads and writes) are queued up and the first task requested is the first task performed.
![Page 53: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/53.jpg)
CSIT 301 (Blum) 53
More Sophisticated Orderings
• Seek-Time Optimization (a.k.a. Elevator seeking):– Seek time involves the radial positioning of the
head. The tasks are ordered based on their radial positioning to minimize seek time.
• Access-Time Optimization (a.k.a. multiple command reordering):– Takes into account both radial and angular
positioning to minimize access time which includes seek time and latency.
![Page 54: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/54.jpg)
CSIT 301 (Blum) 54
Ordering Comparison
![Page 55: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/55.jpg)
CSIT 301 (Blum) 55
Locating data• The platters are dense with data, if the head is
even the slightest bit off target, one will be reading the wrong data.
• The actuator uses a voice coil. The voice coil uses a feedback mechanism to locate the data. – Feedback means taking some output and putting it back
in as input. In this case the head is reading information from the platter. Some of that information is telling the head where it is on the platter.
![Page 56: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/56.jpg)
CSIT 301 (Blum) 56
Servo Information
• The information on the disk about location on the disk is called servo information. – It is not user’s data but data about the disk’s
operation.
• The servo information can be placed – In dedicated sectors (wedge servo)– On dedicated platter side (dedicated servo)– Spread throughout (embedded servo)
![Page 57: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/57.jpg)
CSIT 301 (Blum) 57
![Page 58: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/58.jpg)
CSIT 301 (Blum) 58
Low-level format
• Low-level formatting (LLF), a.k.a. physical formatting, establishes the tracks, sectors, etc. and writes the servo information.
• For a hard drive, this is done once by the manufacturer.
• For a floppy disk, this can be done by the user. • Any previous data is lost when a low-level format
is performed on a disk.
![Page 59: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/59.jpg)
CSIT 301 (Blum) 59
Our old enemy heat
• When objects heat up, they tend to expand (thermal expansion).
• If the heat in a hard drive is not distributed uniformly, then different platters are at different temperatures and thus have expanded different amounts.
• This is why dedicated servo is not as good as embedded servo.
![Page 60: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/60.jpg)
CSIT 301 (Blum) 60
Thermal recalibration• Every once in awhile the hard disk reads
itself just to check on track positioning and so forth. – You may hear the hard drive spinning even
though the PC is neither reading it nor writing to it.
– This is called thermal recalibration. – The amount of thermal calibration necessary
was reduced by manufacturers moving to embedded servo techniques.
![Page 61: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/61.jpg)
CSIT 301 (Blum) 61
A gentle breeze• While reading or writing the platters spin, which
causes a breeze. The actuator arm is designed like a wing that floats in this breeze.
• When the drive spins down (stops spinning), the breeze stops blowing and the actuator arm must come in for a landing. It comes in contact with the platter.
• We do not want there to be any data written in the region where the arm lands.
![Page 62: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/62.jpg)
CSIT 301 (Blum) 62
The landing zone is for …• There are special regions on the disk called landing
zones where no data is written and where the head comes to rest when the drive spins down.
• Positioning the head into the landing zone is called head parking.
• There is a BIOS parameter that informs the system where the landing zones are. But in modern drives the drive is designed to return automatically to the landing zone (even if the power is lost).
• Some drives are designed so that the head never lands.
![Page 63: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/63.jpg)
CSIT 301 (Blum) 63
Landing Zone Setting in BIOS
![Page 64: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/64.jpg)
CSIT 301 (Blum) 64
Spindle Speed Revisited• In addition to accurately positioning the head, the
platter must spin at a very accurate speed. • The standard spindle speed for a long time was 3600
RPM (revolutions per minutes), which corresponds to 60 cycles per second or 60 Hz, which is same frequency as the AC power that comes out of a standard US wall socket.
• But since latency is connected to spindle speed, the spindle speeds have been raised.
• The higher speeds tend to debut with SCSI drives and then filter down to ATA/IDE drives.
![Page 65: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/65.jpg)
CSIT 301 (Blum) 65
Spindle speed and drive type
Source: PCGuide.com
![Page 66: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/66.jpg)
CSIT 301 (Blum) 66
Spindle Speed Issues
• Smaller platters are easier to spin faster – Think of an ice skater spinning
• Platters must spin together, so it is easier to spin fewer platters.
• The platter must spin at a steady speed and not vibrate (we don’t want a head crash).
• Heat and power: spinning faster requires more power and generates more heat.
![Page 67: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/67.jpg)
CSIT 301 (Blum) 67
Power Issue
• Because of momentum (objects in motion tend to remain in motion), it takes more power to start the drive spinning than to keep it spinning. – This is one place where the 12V connection is used
– “Power management” reduces the power when a device is not being used. But spinning up a hard drive requires more power than maintaining the rotation, so continually starting and stopping could cost power.
• Also the starting and stopping could be detrimental to the drive.
![Page 68: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/68.jpg)
CSIT 301 (Blum) 68
Power Issue (Cont.)
• When a computer has multiple drives, e.g. a master/slave set up, the slave may delay its spin up until the master has completed its spin up so they are not pulling on the power simultaneously. – One may have to use a particular jumper setting
to ensure this delay.
![Page 69: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/69.jpg)
CSIT 301 (Blum) 69
Cover and Base Casting
Don’t open the case (unless your room is clean).
The screws in the case are unusual to prevent you from opening it.
![Page 70: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/70.jpg)
CSIT 301 (Blum) 70
Yes to Air / No to Dust
• The hard drive cannot be completely sealed off, it needs air to keep it from overheating.
• On the other hand, the slightest spec of dust can cause a head crash.
• A hard drive needs an air filtration and circulation system. – The circulation occurs naturally in that the spinning
disks cause the air to flow. – There is a filter to keep dirt out. It does not need
changing.
![Page 71: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/71.jpg)
CSIT 301 (Blum) 71
Heat Issues Revisited
• Recall that moving air (convection) is the primary mechanism for cooling computer devices and that the spinning platters get the air moving inside hard drives.
• Thus typical hard drives (ATA/IDE and SCSI with moderate spindle speeds) can use passive cooling.
• High speed SCSI drives may need active cooling (i.e. fans).
![Page 72: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/72.jpg)
CSIT 301 (Blum) 72
Drive cooler
![Page 73: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/73.jpg)
CSIT 301 (Blum) 73
Bay cooler
![Page 74: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/74.jpg)
CSIT 301 (Blum) 74
Retail vs. OEM
• Retail– Hard Disk Drive, Installation Instructions,
Drivers and/or Overlay Software, Mounting Hardware, Interface Cable, Warranty Card
• OEM (original equipment manufacturer)– Hard Disk Drives and Jumpers (maybe)
![Page 75: CSIT 301 (Blum)1 Disk Drives. CSIT 301 (Blum)2 Hard drive In our original view of a computer as being comprised of ALU, Control, Memory, Input and Output,](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d8c5503460f94a749d9/html5/thumbnails/75.jpg)
CSIT 301 (Blum) 75
References
• PC Hardware in a Nutshell, Thompson and Thompson
• http://www.pcguide.com
• All-in-One A+ Certification, Meyers and Jernigan