The OS decides to implement a limit on the number of memory pages that any given program is allowed to use; at most 16 pages are allowed to be valid for a given program, not including the page table;...


The OS decides to implement a limit on the number of memory pages that any given program is allowed<br>to use; at most 16 pages are allowed to be valid for a given program, not including the page table; attempting<br>to use more than 16 pages of memory, the OS returns either a stack overflow, or a NULL heap pointer<br>(depending on the request). What is the best-case and worst-case number of pages that our page table will<br>use, if we run a program that uses a full 16 pages of virtual memory?<br>Worst-case:<br>16<br>e x 0%<br>Best-case:<br>1<br>X0%<br>Ignoring the access to the page table base register (which stores where the start of the page table is in<br>physical memory), how many physical memory accesses are required per virtual memory access?<br>256<br>e x0%<br>

Extracted text: The OS decides to implement a limit on the number of memory pages that any given program is allowed to use; at most 16 pages are allowed to be valid for a given program, not including the page table; attempting to use more than 16 pages of memory, the OS returns either a stack overflow, or a NULL heap pointer (depending on the request). What is the best-case and worst-case number of pages that our page table will use, if we run a program that uses a full 16 pages of virtual memory? Worst-case: 16 e x 0% Best-case: 1 X0% Ignoring the access to the page table base register (which stores where the start of the page table is in physical memory), how many physical memory accesses are required per virtual memory access? 256 e x0%

Jun 03, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here