Ez Computerहिन्दीOpen app

Deep Dive 7 — Storage Evolution and Interfaces

Preview Part K: Deep Dive · Chapter 45 · 18 min read · 20 practice questions

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.

Storage Hard disk Access = seek + latency 7200 RPM: 4.17 ms wait About 80 random reads/s Interfaces SATA III: 600 MB/s AHCI: 1 queue, 32 deep NVMe: PCIe, many queues M.2 and PCIe M.2 = shape, not speed 2280 = 22 × 80 mm NVMe usually x4 link Flash cells SLC 1 bit, QLC 4 bits More bits: wears faster Levels = 2^bits SSD health Wear levelling TRIM frees blocks TBW = write limit RAID 0: striping, no safety 1: mirroring 5: parity, 3+ disks
Chapter 45 at a glance Recall: HDD timing, the interface ladder, M.2 vs PCIe, NAND bits, SSD care and RAID.

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:

⚡ 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

Access time = seek + latency + transfer 7200 RPM Average wait One turn at 7200 RPM = 8.33 ms Average wait = half = 4.17 ms About 82 random reads per second Access time ≈ 12.17 ms Seek 8 ms 4.17 ms Latency
Hard disk access time: waiting plus moving Access time is mostly waiting and moving: the head seeks, then waits for the sector to spin under it.

An HDD stores bits as magnetic patterns on spinning discs. Its main parts are:

Access time is the time to reach a piece of data:

Access time = Seek time + Rotational latency + Transfer time

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

  1. Rotational latency on average = 8.33 ÷ 2 = 4.17 ms.
  2. Assume an average seek time of 8 ms.
  3. Access time = 8 + 4.17 = 12.17 ms.
  4. 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.

What the full chapter covers

The full chapter has these sections:

  1. 45.1 From Punch Cards to the Cloud
  2. 45.2 Inside a Hard Disk Drive
  3. 45.3 SATA: The Common Road
  4. 45.4 AHCI and NVMe: The Two Protocols
  5. 45.5 M.2 Form Factor and PCIe Lanes
  6. 45.6 Inside an SSD: NAND Flash Types
  7. 45.7 Keeping an SSD Healthy
  8. 45.8 RAID: Combining Disks
  9. 45.9 Reading a Storage Spec Sheet
  10. Chapter Quick Revision
  11. Most Important Terms
  12. Common Confusions
  13. Rapid Recall

Sample questions from this chapter

1. Usable capacity of a RAID 1 mirror built from two 1 TB disks?

  1. 500 GB
  2. 1 TB
  3. 3 TB
  4. 2 TB
Show answer

Answer: B. 1 TB

A mirror stores the same data on both disks, so usable capacity is one disk: 1 TB.

2. NAND type storing one bit per cell?

  1. SLC
  2. MLC
  3. QLC
  4. TLC
Show answer

Answer: A. SLC

SLC (Single-Level Cell) stores 1 bit per cell with 2 voltage levels; it is the fastest and most durable.

3. Width and length of an M.2 2280 module?

  1. 22 mm × 30 mm
  2. 22 mm × 42 mm
  3. 22 mm × 80 mm
  4. 22 mm × 60 mm
Show answer

Answer: C. 22 mm × 80 mm

M.2 2280 is 22 mm wide and 80 mm long; the first digits give the width, the rest the length.

4. Feature that lets the OS tell an SSD which blocks are free?

  1. DRAM cache
  2. TRIM
  3. Wear levelling
  4. Over-provisioning
Show answer

Answer: B. TRIM

TRIM lets the OS tell the SSD which blocks held deleted files, so they can be erased early.

5. RAID level that mirrors and then stripes, needing at least four disks?

  1. RAID 0
  2. RAID 1
  3. RAID 5
  4. RAID 10
Show answer

Answer: D. RAID 10

RAID 10 mirrors disks in pairs, then stripes across the pairs; it needs at least four disks.