After this chapter you will be able to
- trace storage from punch cards to flash memory and cloud services
- calculate hard-disk access time from RPM and seek time
- compare SATA, AHCI, NVMe, M.2 and PCIe speeds with simple arithmetic
- explain SLC, MLC, TLC and QLC flash and why endurance changes
- read an SSD spec sheet and estimate copy times
- choose a RAID level and work out its usable capacity
Units used in this chapter. Drive capacities and transfer speeds use the decimal (marketing) convention: 1 GB = 1000 MB, 1 MB = 1000 KB, 1 TB = 1000 GB. Exam books usually use 1 KB = 1024 bytes, as explained in Chapter 6. Interface speeds such as SATA are given in Gb/s (gigabits per second). One byte = 8 bits.
45.1 From Punch Cards to the Cloud
Every storage technology answers one question: how does information survive after the power is switched off? Each era answered it differently.
| Period | Storage method | Remark |
|---|---|---|
| Early 1800s | Punched cards | Jacquard loom used cards to control weaving patterns |
| 1890 | Punched cards for data | Herman Hollerith’s tabulating machine counted the US census |
| 1950s | Magnetic tape and magnetic drum | Sequential access; drums were faster than tape |
| 1956 | First commercial hard disk drive | IBM 350 RAMAC, about 5 million characters (roughly 4 MB) |
| 1971 | 8-inch floppy disk | Introduced by IBM; portable, removable storage |
| 1980s | 3.5-inch floppy disk; CD (1982) | Floppy became the common removable medium; CD stored audio, then data |
| Mid-1990s | DVD | More capacity than a CD of the same size |
| Around 2000 | USB flash (pen) drive | Flash memory (Chapter 6) in a small plug-in case |
| 2000s | SSDs enter PCs; cloud storage grows | Amazon S3 (launched 2006) is an early, widely known cloud storage service |
| 2010s onward | NVMe SSDs on PCIe; M.2 slots | Very fast flash on the motherboard; cloud for backup and sharing |
Storage also differs in how it is read:
- Sequential access — data is read in order. Tape and punched cards work this way.
- Random (direct) access — any location can be reached directly. Hard disks and SSDs work this way.
⚡ QUICK FACT — The IBM 350 RAMAC (1956) is the first commercial hard disk drive. It stored about 5 million characters (roughly 4 MB), a tiny amount compared with a modern phone’s storage.
45.2 Inside a Hard Disk Drive
An HDD stores bits as magnetic patterns on spinning discs. Its main parts are:
- Platters — magnetic discs; data is stored on both sides.
- Spindle motor — spins the platters at a fixed speed, measured in RPM (revolutions per minute).
- Read/write heads — float a tiny distance above each surface on the thin layer of air made by the spinning platters.
- Actuator arm — moves the heads in and out across the platters.
- Track — one circular ring of data on a platter. The same track on all platters is a cylinder.
- Sector — the smallest addressable block (512 bytes on older drives, 4096 bytes on most modern ones).
Access time is the time to reach a piece of data:
Access time = Seek time + Rotational latency + Transfer time
- Seek time — time for the arm to move to the right track (a few milliseconds).
- Rotational latency — time to wait until the sector spins under the head. On average, this is half of one full rotation.
| Spindle speed | One rotation | Average rotational latency |
|---|---|---|
| 5400 RPM | 60 ÷ 5400 = 11.11 ms | 5.56 ms |
| 7200 RPM | 60 ÷ 7200 = 8.33 ms | 4.17 ms |
| 10,000 RPM | 60 ÷ 10,000 = 6.00 ms | 3.00 ms |
Worked example — one random read on a 7200 RPM drive
- Rotational latency on average = 8.33 ÷ 2 = 4.17 ms.
- Assume an average seek time of 8 ms.
- Access time = 8 + 4.17 = 12.17 ms.
- Random reads per second ≈ 1000 ÷ 12.17 ≈ 82.
So an HDD manages only about 80 random reads per second, because every read waits for moving parts. Its sequential speed (reading one long file) is much higher, typically around 100 to 250 MB/s for common desktop drives.
⚠ COMMON CONFUSION — Hard disks have moving parts (platters, arm, heads). SSDs have none. That single fact explains most of the speed gap.