639 views
0 votes
0 votes

Problem 3

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 are 44 bits and there are 4 protection bits per page. Answer the following questions, showing all the steps you take to reach the answer. A simple number will not receive any credit.

How much memory is consumed by the page table and wasted by internal fragmentation for a process that 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)?

Please log in or register to answer this question.

Related questions

2.1k
views
0 answers
1 votes
Pradip Nichite asked Dec 10, 2015
2,092 views
If the no of pages in a 32 bit machine is 8kB then what is the size of the page table?a. 8kbb. 16kBc. 4 KBd. Cant sayAns: a How is the answer a
1.1k
views
0 answers
1 votes
Harsh Kumar asked Aug 12, 2018
1,129 views
I have watched two video lectures on OS memory management (PK Biswas and IISc Mathew Jacob). In both lectures they say that the compiler assumes (while compiling and ... number of entries..? Is it the real reason to use valid/invalid bit ?
740
views
0 answers
0 votes
srestha asked Jul 26, 2018
740 views
Consider a system with byte-addressable memory, 32 bit logical addresses, 4 kilobyte page size and page table entries of 4 bytes each. The size of the page table in the system in bytes is __________________
1.2k
views
1 answers
2 votes
shikharV asked Jan 19, 2016
1,222 views
Given answer: A. Please explain