Sub topic 1
What Persistent Storage Does in a PC
Prerequisites
Assume you know the difference between storage and RAM, and you recognize a motherboard, power supply, and expansion slot. You should also be comfortable with GB, TB, and Gbps.
Persistent Storage
Persistent storage keeps data when the PC is turned off. It holds the operating system, applications, and personal files. RAM is temporary working memory, but a storage device retains data without power.
Hard Disk Drives
A hard disk drive (HDD) stores data magnetically on spinning platters. Read/write heads move across the platter surfaces to access data. The spindle speed, measured in revolutions per minute (RPM), affects performance. A 7,200-RPM drive is usually faster than a 5,400-RPM drive.
HDDs provide high capacity at a low cost, but they are slower, noisier, and less resistant to movement than solid-state drives. Their moving parts also use more power.
Solid-State Drives
A solid-state drive (SSD) stores data in NAND flash memory. NAND flash is nonvolatile memory, so it keeps data without power. SSDs have no moving parts. They usually start applications faster, use less power, make no mechanical noise, and resist physical shock better than HDDs.
| Device | Main strength | Common limitation |
|---|---|---|
| HDD | Low cost per terabyte | Moving parts and slower access |
| SSD | Fast, quiet, and durable | Higher cost per terabyte |
Form Factors
A form factor describes a device's physical size and shape. A 3.5-inch drive is common in desktop computers, especially for HDDs. A 2.5-inch drive is common in laptops and is also used for SATA SSDs.
M.2 is a small, flat card-shaped form factor. An M.2 drive can use SATA or NVMe, so the form factor alone does not identify its performance or interface. mSATA is an older, smaller SATA form factor found in some older laptops and compact systems.
SATA Interface and Connectors
Serial ATA (SATA) is an interface used by many HDDs, SSDs, and optical drives. A SATA drive normally needs two connections: a narrow SATA data cable to the motherboard and a wider SATA power connector from the power supply.
M.2 Slots and NVMe over PCIe
NVMe is a storage protocol designed for flash storage. It commonly communicates over PCI Express (PCIe), a high-speed motherboard bus. NVMe drives usually provide lower latency and higher throughput than SATA drives.
An M.2 slot must support the required keying and interface. Some slots accept SATA M.2 drives, some accept NVMe drives, and some accept both.
Exercise
A laptop has an M.2 slot labeled NVMe and a 2.5-inch SATA SSD. Which drive should provide higher storage performance?
Show answer
The NVMe M.2 drive should provide higher performance because it uses PCIe and the NVMe protocol instead of the SATA interface.