edited by
185 views
2 votes
2 votes

Consider a machine with $8\; GB$ physical memory and a $34$-bit virtual address space. If the page size s $4\; KB,$ the approximate size of the page table assuming $3$ auxiliary bits (for protection, page replacement information etc.) on average for each page table entry will be _______

  1. $\text{16 MB}$
  2. $\text{8 MB}$
  3. $\text{2 MB}$
  4. $\text{12 MB}$
edited by

1 Answer

Best answer
4 votes
4 votes
For $34-$bit virtual address and page size of $2^{12},$ number of pages $ = 2^{34 -12} = 2^{22}.$

With $8GB = 2^{33}B$ physical memory, number of address bits for $2^{12}$ size pages $ = 33 - 12 = 21. $

With, $3$ auxiliary bits we need $24$ bits for each page table entry which equals $3$ bytes.

So, for $2^{22}$ pages, we will need $3 \times 2^{22} = 12 MB$ for the page table.
selected by
Answer:

Related questions

2 votes
2 votes
1 answer
1