A.1 Page Table Size You are considering the design of page table in a target system with the following parameters: • 64-

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

A.1 Page Table Size You are considering the design of page table in a target system with the following parameters: • 64-

Post by answerhappygod »

A 1 Page Table Size You Are Considering The Design Of Page Table In A Target System With The Following Parameters 64 1
A 1 Page Table Size You Are Considering The Design Of Page Table In A Target System With The Following Parameters 64 1 (89.46 KiB) Viewed 42 times
Please answer A.1.4 to A.1.5. I will thumb up if the answer is
helpful.
A.1 Page Table Size You are considering the design of page table in a target system with the following parameters: • 64-bit architecture 40-bit physical address The maximum memory address space allocated to each process is as follows. Depending on the actual program, the process may not use up all the spaces that are allocated. Only used pages are allocated by the OS. Segment Address code Ox0000_0000_1000_0000 - Ox0000_0000_1FFF_FFFF stack Ox0001_0000_0000_0000 - Ox0001_0000_000FFFFF heap OxO0E0_0000_0000_0000 - Ox00EO_00FF_FFFF_FFFF A.1.1 Based on the above information, what is the maximum amount of memory (in bytes), that a process may use? A.1.2 Let the size of a page be 2. What is the maximum number of pages that a process may be allocated? A.1.3 Let the size (in bytes) of a page table entry (PTE) be: (sizeof(PPN)/8 +11 Given the processor has 40-bit physical addresses and a page size of 2P, what is the maximum amount of storage (in bytes) needed to store all PTEs if a process allocates all the possible pages? A.1.4 In this part, consider the design of an 1-level linear page table. Using the size of a PTE you obained above, what is the size of this linear page table? A.1.5 In order to reduce the total amount of storage required, you are considering to use a 2-level page table organization instead. In this scheme, the first level of page table is preallocated when a process is launched, while the second level is allocated on demand. The first level of your page table contains 1024 entries. Given your page size is 2P, how many PTEs are there in each second level page table?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply