Anonymous user menu

In a 32-bit machine we subdivide the virtual address into 4 pieces as follows:

In a 32-bit machine we subdivide the virtual address into 4 pieces as follows:
                  8-bit 4-bit 8-bit 12-bit

We use a 3-level page table, such that the first 8 bits are for the first level and so on. Physical addresses are44 bits and there are 4 protection bits per page. Answer the following questions

1. How much memory is consumed by the page table and wasted by internal fragmentation for a process that has 64K of memory starting at address 0?

2. How much memory is consumed by the page table and wasted by internal fragmentation for a processthat has a code segment of 48K starting at address 0x1000000, a data segment of 600K starting at address 0x80000000 and a stack segment of 64K starting at address 0xf0000000 and growing upward (towards higher addresses)?

0Comment