1/48
Looks like no tags are added yet.
Hard Disk Driver
have been the main form of persistent data storage in computer systems for decades
Sectors, 512
the drive consists of a large number of _ (_ byte blocks)
Address Space
we can view the disk with n sectors as an array of sector; 0 to n-1
Atomic
the only guarantee is that a single 512 byte write is _
4KB
many file systems will read or write _ at a time
Torn Write
if an untimely power loss occurs, only a portion of a larger write may complete
Contiguous Chunk
accessing blocks in a _ _ is the fastest access mode
Contiguous Chunk
a sequential read or write
Contiguous Chunk
much faster than any more random access pattern
Platter
aluminum coated with a thin magnetic layer
Platter
a circular hard surface
Platter
data is stored persistently by inducing magnetic changes to it
Surface
each platter has 2 sides, each of which is called a _
Spindle
connected to a motor that spins the platters around
RPM
spindle, the rate of rotations is measured in _
Rotations Per Minute
meaning of RPM
Track
concentric circles of sectors
Track
data is encoded on each surface in a _
Disk Head
the process of reading and writing is accomplished by the _ _
Disk Head
attached to a single disk arm, which moves across the surface
Rotational Delay
time for the desired sector to rotate
Seek
move the disk arm to the correct track
Seek Time
time to move head to the track contain the desired sector
Seek
one of the most costly disk operation
Acceleration, Coasting, Deceleration, Settling
order of the phases of seek
Acceleration
the disk arm gets moving
Coasting
the arm is moving at full speed
Deceleration
the arm slows down
Settling
the head is carefully positioned over the correct track
0.5 to 2 ms
the settling time is often quite significant
Transfer
the final phase of I/O
Transfer
data is either read from or written to the surface
Track Skew
make sure that sequential reads can be properly serviced even when crossing track boundaries
Cache, Track Buffer
hold data read from or written to the disk
Cache, Track Buffer
allow the drive to quickly respond to requests
Writeback
immediate reporting
Writeback
acknowledge a write has completed when it has put the data in its memory
Writeback
faster but dangerous
Write Through
acknowledge a write has completed after the write has actually been written to disk
Disk Scheduler
decides which I/O request to schedule next
SSTF
order the queue of I/O request by track
Shortest Seek Time First
meaning of SSTF
Drive geometry
SSTF is not a panacea, problem 1; the _ _ is not available to host OS
Starvation
SSTF is not a panacea, problem 2
Sweep
a singe pass across the disk
F Scan
freeze the queue to be serviced when it is doing a sweep
C Scan
sweep from outer to inner, and then inner to outer, etc
Shortest Positioning Time First
meaning of SPTF
I/O Merging
reduce the number of request sent to the disk and lowers overhead