All technological notes.
memory hierarchy
Benefits:
Types of Memory Hierarchy
Primary Memory/Internal Memory:
Secondary Memory/External Memory:


register (寄存器)
Cache memory
hierarchy
L1: keep immediately hot code/data
instructions (L1I) and data (L1D).L1I and one L1D per coreL2: hape the algorithm for medium working sets.
L3/Last-Level Cache (LLC): keep big read-mostly data here and avoid cross-core invalidation.
Main memory/RAM (Random Access Memory)
Types of Main Memory
Static RAM:
cache memory.Dynamic RAM:
Secondary Storage
CPU.main memory.hard disk drives (HDD) and solid-state drives (SSD)Magnetic Disk
Magnetic Tape