+1 vote
149 views

I want to divide a page table into 2 page tables (outer and inner). Single page table has 2^20 entries with Page Size of 2^5 Bytes and Page Entry of 4Bytes in Page Table.
What should be the number of entries in Outer Page Table? What is the formula ?

| 149 views

Single page table has $2^{20}$ entries, and the size of each entry is 4B.

Hence the size of first level page table is = $2^{20}$*4B = 4MB

Page Size = 32B,

Therefore, the number of entries in the  outer table will be 4MB/32B = 128K

by Boss (44.1k points)