615 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


Deprecated: Implicit conversion from float-string "1534086007.922" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1534086007.922" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1534086007.922" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1534086007.922" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803

Deprecated: Implicit conversion from float-string "1532584422.294" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1532584422.294" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1532584422.294" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1532584422.294" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803
2.0k
views
0 answers
1 votes
Pradip Nichite asked Dec 10, 2015
2,005 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,081 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 gene...
685
views
0 answers
0 votes
srestha asked Jul 26, 2018
685 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 s...
1.1k
views
1 answers
2 votes
shikharV asked Jan 19, 2016
1,134 views
Given answer: A. Please explain
Total PHP MySQL Other RAM
Time (ms) % Time (ms) % File count Time (ms) % Query count Time (ms) % Amount %
Setup 3.9 4% 2.5 2% 72 1.5 1% 2 0.0 0% 569k 53%
Control 12.0 13% 1.2 1% 5 11.0 12% 12 0.0 0% 164k 15%
View 1.1 1% 1.1 1% 12 0.0 0% 0 0.0 0% 84k 7%
Theme 68.9 75% 3.8 4% 15 65.2 71% 3 0.0 0% 249k 23%
Stats 5.1 5% 0.1 0% 0 5.1 5% 1 0.0 0% 0k 0%
Total 91.1 100% 8.7 9% 104 82.7 90% 18 0.0 0% 1068k 100%