Introduction to RAM

Modern Technology Options and the Chart

Untitled

Untitled

<aside> 💡 On chip caches are cache for the memory and are managed by the hardware.

Registers are a cache for the on chip cache and is managed by the compiler.

Main memory is a cache for the disk and is managed by the operating system.

</aside>

Conducting a Memory Read Without Caches

  1. CPU places address A (rax) on the memory bus
  2. Main memory reads A from the memory bus, retrieves word val, and places it on the bus.
  3. Main memory reads data word val from the bus and stores it at address A.

Untitled

Locality