Winter Semester 2026–27 · VIT-AP · BACSE106 · Operating Systems · Dr. Krithika L.B

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 [+] or [-] to collapse/expand branches.
🔍 Hover over any node to see detailed specifications (Speed, Capacity, Access Type).
  • Computer Memory [-]
    Computer Storage Hierarchy
    Organized by speed, cost, and capacity. Fast memory is closer to CPU but limited in capacity.
    • Volatile Storage [-]
      Volatile Memory
      • Temporary storage
      • Loses data when powered off
      • Primary/Internal Storage
      • Registers
        CPU Registers
        • Location: Inside CPU
        • Speed: Fastest (<1 ns)
        • Capacity: Bytes/KB
        • Holds active data & instructions.
      • Cache Memory
        Cache (L1, L2, L3)
        • Location: On CPU chip/die
        • Speed: Ultra-fast (1–10 ns)
        • Capacity: Megabytes (MB)
        • Uses fast SRAM.
      • Main Memory
        RAM (DRAM)
        • Location: Motherboard
        • Speed: Fast (10–50 ns)
        • Capacity: Gigabytes (8–64 GB+)
        • Stores active OS & programs.
    • Non-Volatile Storage [-]
      Non-Volatile Memory
      • Permanent/Persistent storage
      • Retains data without power
      • Secondary & Tertiary Storage
      • Secondary Storage [-]
        Secondary 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 Drives
          HDD (Mechanical)
          • Technology: Magnetic Platters
          • Speed: Moderate (5–15 ms)
          • Capacity: 1TB – 20TB+
      • Tertiary Storage [-]
        Tertiary / Archival Storage
        Removable, high-capacity, low-cost long-term backup storage.
        • Optical Disk
          Optical Storage
          • Examples: CD, DVD, Blu-Ray
          • Speed: Slow
          • Capacity: 700MB – 100GB
        • Magnetic Tapes
          Magnetic Tape Drives
          • Access: Sequential (Very slow)
          • Speed: Slowest access time
          • Capacity: Petabytes (Very large)
          • Used for enterprise archives.