Answered step by step
Verified Expert Solution
Question
1 Approved Answer
operating system Need complete Answer [ [20 points, 5 points each question] Consider a 32 -bit computer with the following virtual memory architecture: - Each
operating system Need complete Answer
[ [20 points, 5 points each question] Consider a 32 -bit computer with the following virtual memory architecture: - Each page is 2KB ( 211 bytes). - Physical memory is 32 GB ( 235 bytes). Note: that is not mean 232 bytes. - Associated with each virtual page are 7 bits in the page table, including control and reserved bits. The exact nature of these bits is unimportant for this question. For completeness, they are: three bits controlled by the kernel (PTE_P, PTE_U, and PTE_W); 2 bits controlled by the hardware (Accessed and Dirty); and 2 bits reserved for the kernel (for example, PTE_COW). - The machine has a two-level page table structure analogous to the one used in JOS: each process has a page directory, each entry of which points to a page table. Each entry in the page directory has the same number of control and reserved bits as a page table entry: (1) Now assume that the entry size is rounded up to the nearest multiple of 4 bytes. Further assume that a page directory or page table must fit on a page. Programs on this machine use 32-bit quantities as instruction operands, but when the operand is an address, not all of these 32 bits are examined by the processor. How many address bits are actually used in this architecture? (2) How large is the per-process virtual memory spaceStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started