Redirected
1,689 views
0 votes
0 votes
Consider a computer system using 2-level paging with TLB.The logical address supported is 32 bits.The page table is divided into 512 pages each of size 1K.The memory access time is 100ns and the TLB access time 15ns .Page table entry size at 1st level is 2 Bytes and that at second level us 4 Bytes each.

What is the memory overhead of storing the top level page table along with the page of the second level page table for a process?

A)6KB

B)4KB

C)5KB

D)12KB

2 Answers

1 votes
1 votes

 <------------------LA=32------------->

9 bits (first level) 10 bits (Second level) 13bits (offset)

First level Page Table Size = 2^9 * 2B(page table entry size)  = 1KB

Second level Page Table Size = 2^10 *4B(page table entry size)  = 4KB

Total = 5KB

0 votes
0 votes
p1 p2 d
9 10 13

P1= number of pages in 2nd level page table

P2=number of bits required to represent page size of page table

d= bits required for frame offset

total size =2^9 *2 +2^10 *4 =1KB+4KB=  5KB

Related questions

0 votes
0 votes
1 answer
1
Markzuck asked Dec 22, 2018
1,355 views
for memory overhead in Multi level paging, for innermost table only 1 page size shall be counted na? and NOT the complete page table size?please explain the concept, than...
0 votes
0 votes
1 answer
4