Chapter 11
I/O Systems and Management

How (Hard) Disks Work


Some definitions:


To read or write a disk block:


Moral: To get the best throughput, we need to minimize seeeks and rotations.


How do we select a sector size?

  1. What if sector is 1 byte?

  2. What if a sector is 1 KB?

  3. What if a sector is 1 MB?


Some typical figures:

Disk capacity 23 GB
Number of surfaces per pack 18
Number of tracks per surface 4096
Number of sectors per track 32-64
Number of bytes per sector 1 KB
Number of revolutions per minute 7200


Transfer rate = number of bytes rotating under head per second. 1 KB/sector * 32-64 sectors/cycle * 120 cycles/sec = 4-8 MB/sec.