Virtual memory: Difference between revisions
From Rice Wiki
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
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. | 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. | ||
Each process has a page tables that only maps to one section of physical address. The OS prevents accesses from one process to another. | |||
[[Category:Computer Architecture]] | [[Category:Computer Architecture]] |
Revision as of 15:49, 5 June 2024
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.
Each process has a page tables that only maps to one section of physical address. The OS prevents accesses from one process to another.