Virtual Memory

  1. We will break both address spaces up into “pages”.
  2. Typically 4KB in size, although sometimes large
  3. Use a “page table” to map between virtual pages and physical pages.
  4. The processor generates “virtual” addresses
  5. They are translated via “address translation” into physical addresses.

from cseweb.ucsd.edu: 19 Virtualmemory.Key.Pdf 1

  1. build a cache for the page mapping, but call it a “translation lookaside buffer” or “TLB”
  2. TLBs are small (maybe 128 entries), highly-associative (often fully-associative) caches for page table entries.
  3. Virtual memory to Physical memory mapping Virtual memory to Physical memory mapping
< «