Operating Systems · Pro · Topic 1 of 4
Virtual Memory & Paging
5 questions.
Your progress0%
- 1st Visit
- 0/5
- 2nd Visit
- 0/5
- Revise
- 0/5
Overview
Virtual memory gives every process a large, private address space that does not have to fit in physical RAM. Pages are loaded on demand: the page table maps each virtual page to a physical frame, and touching a page that is not in RAM triggers a page fault, which the operating system handles by reading the page from disk. Because a page-table lookup costs an extra memory access, the translation lookaside buffer caches recent translations, and multi-level page tables keep the tables themselves small. This topic covers demand paging, address translation, page-fault handling, the TLB and effective access time, and hierarchical page tables, all of which appear often in interviews and numericals.