Question: Consider a virtual memory system with a 1 6 GB virtual address space with 8 KB pages. There are 4 GB of physical memory. Answer
Consider a virtual memory system with a GB virtual address space with KB pages. There are GB of physical memory. Answer the following questions:
Answer the following questions about the virtual memory management system using the same information as given above Unless the question specifies bits, be sure to back convert the answer back to bytes.
How many bits are required to hold the virtual address?How many bits are required to hold the physical memory address?How many page table entries are there in each page table?How many frames are there in physical memory?How wide is each page table entry? Remember, this depends on how many bits are required to hold the frame number see previous question Also, you have to round this number up to or bits, representing or bytes, respectively.How big is each page table?
Let's add a second level page table so we can greatly reduce the size of the page tables in memory. Again, give each answer in bytes unless otherwise specified.
How many frames does it take to hold a single page table? ie how many contiguous frames would need to be allocated for the primary page table, if the entire table had to be allocated?How many page table entries are in each frame?How much physical memory can a single frame of page table entries cover?Assume some process has program, data, and heap size of MB and a stack of MB How many pages of the original page table would need to be allocated to cover these areas?How many pages are needed in the second level page table to cover the primary page table?What is the total number of pages that needs to be allocated for the new twolayered paging system?
Consider a main memory access time of ps
If we used a twolayered paging system, how long would it take to convert a virtual address and access the memory location?Let's add a really fast cache of ps that caches the frame number for a virtual page. What would be the average access time for the memory if the cache hit rate were Remember that you still have to go to the actual frame to get the data!What cache hit rate would we need if we wanted the average time to be ps Again, remember that the actual datacode memory access of ps is included in this figure. Hint: This is an algebra problem. Plug what you have into the formula and solve for what you don't have.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
