612 views
1 votes
1 votes

1 Answer

Best answer
1 votes
1 votes
Assuming uniform page sizes at all levels.

Then the Logical Address bit representation will be like :-

$\begin{vmatrix} x &x &x & 10 \end{vmatrix}$

10 because Page size = $1 KB$, and $log(1K) = 10$.

Only the outermost page table will be put completely in RAM. Thus,

let Number of bits for indexing into Outermost PT = $x$;

so, Number of entries in this PT = $2^x$

and Given, size of 1 PTE $=4B$.

So, Page Table size $ = 2^x * 4Bytes $

$= 2^x * 2^2 Bytes = 2^{x+2} Bytes$

 

This PT should exactly fit into 1 Page, according to question.

thus  $2^{x+2} = 2^{10}$

$ x + 2 = 10  $

$x = 8$

 

Therefore, our Logical Address bit representation become -> $\begin{vmatrix} 8 &8 &8 & 10 \end{vmatrix}$

Ad required answer is $ 8+8+8+10 = 34  bits$
selected by

Related questions

0 votes
0 votes
1 answer
1
0 votes
0 votes
0 answers
3
srestha asked Jul 26, 2018
673 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...