Computer memory hierarchy
Registers to disk: speed, size and cost.
Module 4
Session 4.1
Lesson 1 of 4
Computer Memory Hierarchy
Detailed Breakdown: Volatile vs Non-Volatile Storage
Click any node with a
🔍 Hover over any node to see detailed specifications (Speed, Capacity, Access Type).
[+] or [-] to collapse/expand branches. 🔍 Hover over any node to see detailed specifications (Speed, Capacity, Access Type).
-
Computer MemoryComputer Storage Hierarchy
Organized by speed, cost, and capacity. Fast memory is closer to CPU but limited in capacity.-
Volatile StorageVolatile Memory
• Temporary storage
• Loses data when powered off
• Primary/Internal Storage-
RegistersCPU Registers
• Location: Inside CPU
• Speed: Fastest (<1 ns)
• Capacity: Bytes/KB
• Holds active data & instructions. -
Cache MemoryCache (L1, L2, L3)
• Location: On CPU chip/die
• Speed: Ultra-fast (1–10 ns)
• Capacity: Megabytes (MB)
• Uses fast SRAM. -
Main MemoryRAM (DRAM)
• Location: Motherboard
• Speed: Fast (10–50 ns)
• Capacity: Gigabytes (8–64 GB+)
• Stores active OS & programs.
-
-
Non-Volatile StorageNon-Volatile Memory
• Permanent/Persistent storage
• Retains data without power
• Secondary & Tertiary Storage-
Secondary StorageSecondary Storage
High-capacity main storage for programs and user files.-
NVM (SSD/Flash)Non-Volatile Memory (SSDs / NVMe)
• Technology: Flash/NAND
• Speed: Very Fast (<0.1 ms)
• Capacity: 256GB – 8TB+ -
Hard-Disk DrivesHDD (Mechanical)
• Technology: Magnetic Platters
• Speed: Moderate (5–15 ms)
• Capacity: 1TB – 20TB+
-
-
Tertiary StorageTertiary / Archival Storage
Removable, high-capacity, low-cost long-term backup storage.-
Optical DiskOptical Storage
• Examples: CD, DVD, Blu-Ray
• Speed: Slow
• Capacity: 700MB – 100GB -
Magnetic TapesMagnetic Tape Drives
• Access: Sequential (Very slow)
• Speed: Slowest access time
• Capacity: Petabytes (Very large)
• Used for enterprise archives.
-
-
-