674 views
1 votes
1 votes
Consider a page size of 1 KB and that each page table entry takes 4 B. If every page table fits into a single page and 3 level paging are used then size of virtual memory is ________(in bits).

1 Answer

0 votes
0 votes
Here Page size =1 KB =1024B =2^10 B =2^13 bits

Page table entry size  = 4 B = 32bits =2^5 bits

No of page table entries in outer page table that fits in one page = 1024 B / 4B = 2^8 entries

So this entries will point to one page in 2nd page table

Total no of entries in 2nd page table = 2^8 * 2^ 8 = 2^16

Total no of entries in 3rd page table = 2^8 * 2^ 8 *2^8 = 2^24

these entries will point to no of pages in virtual memory

there fore virtual memory size = 2^24 pages * 1024 B (page size)  = 2^34 B = 2^37 bits =137438953472 bits

Related questions

0 votes
0 votes
0 answers
1
0 votes
0 votes
1 answer
2
Sagar475 asked Jan 28, 2022
438 views
Let A={2,3,4,5,6,7,8,9,10,11,12,13,14,15,16} and consider the divides relation on A. Let C denote the length of the maximal chain, M the number of maximal element, and m ...
0 votes
0 votes
1 answer
3
Sagar475 asked Jan 24, 2022
346 views
Options Given were:(pi)/2pi-(pi)none
1 votes
1 votes
1 answer
4
Sagar475 asked Jan 18, 2022
633 views
Options were:8235522331Please give detailed solution.