Computing and Networks
Memory & Storage
The complete student field guide
AI generated by Nikhil Kumar Rajput
In the reading list Networks and systems (book 2 of 7)
8 chapters
Contents¶
Front matter
Chapters
Chapter 1: Memory & Storage Foundations
- 1.1 Memory vs Storage — The Desk and the Filing Cabinet
- 1.2 Bits, Bytes and Units — Why a 1 TB Drive Shows 931 GB
- 1.3 The Memory Hierarchy and Real Latencies
- 1.4 Volatile vs Non-Volatile Memory
- 1.5 Key Metrics: Latency, Bandwidth, IOPS, Endurance and $/GB
- 1.6 How Bits Are Physically Stored: Charge, Magnetism, Light and Resistance
- 1.7 Addressing, Words and Alignment
- 1.8 Virtual Memory, Pages and Swap
- 1.9 A Short History, Part 1: Cards, Drums, Core and the First Disk
- 1.10 A Short History, Part 2: DRAM, Flash, SSDs and HBM
- 1.11 Follow a File: From 'Save' to the Disk and Back
- 1.12 Reliability Basics: Bit Errors, ECC and Bit Rot
- 1.13 The Memory & Storage Market and Its Big Players
- 1.14 Who Writes the Rules: Standards Bodies and Industry Groups
Chapter 2: Semiconductor Memory: SRAM, DRAM, HBM & Modules
- 2.1 SRAM Cells and On-Chip Caches
- 2.2 Inside DRAM: The Cell, Sense Amplifiers and Refresh
- 2.3 Banks, Rows, Columns and Timings (CL-tRCD-tRP-tRAS)
- 2.4 DDR4, DDR5 and the Road to DDR6
- 2.5 Low-Power DRAM: LPDDR5X and LPDDR6
- 2.6 Graphics Memory: GDDR6, GDDR6X and GDDR7
- 2.7 High-Bandwidth Memory: HBM3E and HBM4
- 2.8 Memory Modules: UDIMM, SODIMM, RDIMM, MRDIMM, CAMM2 and SOCAMM
- 2.9 Memory Controllers, Channels, Ranks, Interleaving and NUMA
- 2.10 ECC, On-Die ECC, Chipkill and Memory RAS
- 2.11 Rowhammer and DRAM Security
- 2.12 Memory Overclocking Profiles: XMP and EXPO
- 2.13 DRAM Makers and the 2025-2026 Memory Crunch
- 2.14 Memory Testing and Diagnostics
Chapter 3: Flash Memory & SSDs
- 3.1 How a Flash Cell Stores Charge: Floating Gate vs Charge Trap
- 3.2 Inside a NAND Chip: Pages, Blocks, Planes, Dies and Packages
- 3.3 SLC, MLC, TLC, QLC and PLC: Bits per Cell
- 3.4 3D NAND and the 2026 Layer Race
- 3.5 NOR Flash: Boot Code, Firmware and Execute-in-Place
- 3.6 Anatomy of an SSD: Controller, NAND, DRAM/HMB and Firmware
- 3.7 The Flash Translation Layer: Garbage Collection, Wear Levelling, Over-provisioning and TRIM
- 3.8 Endurance and Data Retention: P/E Cycles, TBW, DWPD and JESD218
- 3.9 Power-Loss Protection and Data Integrity
- 3.10 Everyday Flash: eMMC, UFS, SD/microSD Express, CFexpress and USB Drives
- 3.11 SSD Form Factors and PCIe Generations: M.2, U.2/U.3, EDSFF and Gen5/Gen6 Drives
- 3.12 Host-Guided Data Placement: ZNS, Flexible Data Placement and Open-Channel SSDs
- 3.13 Giant QLC SSDs for AI and Hyperscale: 122 TB, 245 TB and Beyond
- 3.14 Who Makes Flash and SSDs: NAND Makers, Controller Vendors and Brands in 2026
Chapter 4: Hard Drives, Tape, Optical & Archive Storage
- 4.1 Inside a Hard Drive: Platters, Heads, Actuator and Spindle
- 4.2 HDD Performance: RPM, Seek Time, Rotational Latency and Zoned Recording
- 4.3 Recording Methods: Perpendicular (CMR) and Shingled (SMR)
- 4.4 Energy-Assisted Recording: HAMR, MAMR and ePMR
- 4.5 Helium-Sealed and Multi-Actuator Drives
- 4.6 HDD Reliability, Drive Classes and Failure Modes
- 4.7 HDD Vendors, Product Lines and the Nearline Market in 2026
- 4.8 How Magnetic Tape Works
- 4.9 LTO Generations: LTO-9, LTO-10 and the Roadmap
- 4.10 Enterprise Tape, LTFS, Tape Libraries and the Air Gap
- 4.11 Optical Discs: CD, DVD, Blu-ray, M-DISC and Archival Disc
- 4.12 Emerging Archive Media: Glass, Ceramic, DNA and Film
- 4.13 Cold Storage Tiers in the Cloud
- 4.14 Media Lifetimes, Migration and Digital Preservation
Chapter 5: Storage Interfaces, Protocols & the I/O Stack
- 5.1 SCSI & SAS: The Enterprise Command Language and Its Serial Link
- 5.2 SATA & AHCI: The Everyday Disk Connection
- 5.3 PCI Express: The Highway Under Every Fast SSD
- 5.4 NVMe: Queues, Namespaces & Commands
- 5.5 The NVMe 2.x Specification Family & Advanced Features
- 5.6 NVMe over Fabrics: RDMA, TCP and Fibre Channel
- 5.7 Fibre Channel SANs: Zoning, WWNs and Lossless Fabrics
- 5.8 iSCSI: Block Storage Over Ordinary IP Networks
- 5.9 CXL: Memory Expansion, Pooling & Sharing Over PCIe
- 5.10 External Storage: USB 3.x, USB4 and Thunderbolt
- 5.11 The OS Storage I/O Stack: Page Cache, Block Layer, io_uring & SPDK
- 5.12 Queue Depth, Latency & IOPS Maths
- 5.13 Feeding GPUs: GPUDirect Storage & Storage Paths for Accelerators
- 5.14 SMART, NVMe Log Pages & Drive Telemetry
Chapter 6: File Systems, RAID & Data Protection
- 6.1 What a File System Does: Inodes, Directories, Metadata & Allocation
- 6.2 Crash Consistency: Journaling, Copy-on-Write & Log-Structured Designs
- 6.3 Linux File Systems: ext4, XFS, Btrfs, F2FS & bcachefs
- 6.4 ZFS & OpenZFS: Pools, vdevs, ARC and End-to-End Integrity
- 6.5 NTFS, ReFS, APFS, FAT32 & exFAT: Windows, Apple and Removable Media
- 6.6 Partitioning (MBR & GPT) and Volume Managers (LVM, Storage Spaces)
- 6.7 RAID 0, 1, 5, 6 & 10: Striping, Mirroring and Parity Maths
- 6.8 Rebuild Risk, UREs & Erasure Coding
- 6.9 Snapshots, Clones & Checksums: Point-in-Time Copies and Silent-Corruption Defence
- 6.10 Deduplication & Compression: Storing More in Less Space
- 6.11 Backup Strategy: 3-2-1-1-0, RPO/RTO, Immutability & Ransomware
- 6.12 Replication: Synchronous, Asynchronous & Disaster Recovery
- 6.13 Encryption at Rest: SEDs & Opal, BitLocker, FileVault and LUKS
- 6.14 Data Sanitisation: NIST SP 800-88r2, IEEE 2883 and Secure Erase
Chapter 7: Networked, Distributed & Cloud Storage
- 7.1 DAS, NAS and SAN: Three Ways to Attach Storage
- 7.2 NFS and SMB: Sharing Files Over a Network
- 7.3 Block, File and Object: Three Ways to Address Data
- 7.4 The S3 API and Object Storage Concepts
- 7.5 Software-Defined and Distributed Storage: Ceph, HDFS and Friends
- 7.6 Parallel File Systems for HPC and AI
- 7.7 Enterprise Storage Arrays and Vendors
- 7.8 Hyperconverged Infrastructure (HCI)
- 7.9 Cloud Block and File Storage Services
- 7.10 Cloud Object Storage Services and Storage Classes
- 7.11 Kubernetes Storage: Volumes, PV/PVC and CSI
- 7.12 Storage for AI Training and Inference
- 7.13 Tiering and Data Lifecycle Management
Chapter 8: Performance, Emerging Tech, Careers & Learning
- 8.1 Benchmarking Storage: fio, CrystalDiskMark and Doing It Right
- 8.2 Memory Benchmarks and Industry Benchmark Suites
- 8.3 Monitoring Storage and Memory on Linux
- 8.4 Troubleshooting Playbook and Windows/macOS Tools
- 8.5 Emerging Memories: MRAM, ReRAM, PCM, FeRAM — and Optane's Story
- 8.6 Processing-in-Memory and Computational Storage
- 8.7 CXL Memory Tiering and the Composable Future
- 8.8 Sustainability, $/GB Trends and the AI-Driven Market
- 8.9 Careers in Memory and Storage
- 8.10 Certifications: Proving Your Skills to Employers
- 8.11 Learning Resources: Books, Specs, Conferences and News
- 8.12 Hands-On Labs You Can Do at Home
- 8.13 Interview Questions with Model Answers
- 8.14 A 16-Week Study Plan from Zero to Job-Ready
Back matter
Ten Things Every Memory & Storage Student Should Master
- 1. Memory is fast and forgetful; storage is slow and faithful
- 2. Know your units and your three performance numbers
- 3. DRAM and HBM feed the processors
- 4. Flash is fast, but it wears out and needs a translator
- 5. Hard drives and tape still hold most of the world's bytes
- 6. Interfaces and the software stack shape latency
- 7. RAID, replication and snapshots are not backups
- 8. Choose block, file or object on purpose
- 9. Measure before you change anything
- 10. Stay curious — the stack is changing fast
About this book¶
A student's plain-English guide to how computers remember — from SRAM, DRAM and HBM to flash, SSDs, hard drives, tape, file systems, RAID, networked and cloud storage. Every topic is explained with an everyday analogy, a worked example, step-by-step mechanics, a diagram, and a table of the memory types, devices, interfaces, standards & tools you need to know.