Virtual memory

From Rice Wiki
Revision as of 15:48, 5 June 2024 by Rice (talk | contribs)

Virtual memory gives the illusion of a bigger memory. Each programs use the same virtual addresses.

Physical memory acts as a cache for virtual memory. A page table can be used to translate virtual to physical address.

Most accesses hits physical memory, but some doesn't.

A translation lookaside buffer (TLB) is a small cache of recent translations that reduces memory accesses. Page tables are high temporal locality so fully associative.