Question: Suppose a machine with a 32 bit virtual address and 40 bit physical addresses is designed with a two level page table subdividing the virtual

Suppose a machine with a 32 bit virtual address and 40 bit physical addresses is designed with a two level page table subdividing the virtual address into three pieces as follows:

The first 10 bits are the index into the top level page table, the second 10 bits are the index into the second level page table, and the last 12 bits are the offset into the page. There are 4 protection bits per page, so each page table entry takes 4 bytes.

a) what is the page size in this system?

b) how much memory is consumed by the first and second level page tables and wasted by internal fragmentation for a process that has 64k of memory starting at address 0?

c) How much memory is consumed by the first and second level page tables and wasted by internal fragmentation for a process that has a code segment of 48K starting at address 0x800000000 and a stack segment of 64K starting at address 0xf00000000 and growing upwards towards higher addresses

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!