edited by
388 views
4 votes
4 votes

If the virtual address space supported is $2^{64}\:\text{bits},$ the page size is $4\:\text{Kbyte,}$ the size of the physical memory is $2\:\text{GB,}$ the size of a PTE is four bytes for standard page table and eight bytes for inverted page table, and the addressing is at the byte level, the sizes of the page tables (assuming single level) required for both standard and inverted page tables respectively will be

  1. $2^{54}\;\text{bytes},\;2^{22}\;\text{bytes}$
  2. $2^{52}\;\text{bytes},\;2^{32}\;\text{bytes}$
  3. $2^{51}\;\text{bytes},\;2^{22}\;\text{bytes}$
  4. $2^{50}\;\text{bytes},\;256\;\text{bytes}$
edited by

1 Answer

Best answer
7 votes
7 votes
Number of pages $= 2^{64}/(8 \times 2^{12}) = 2^{49}.$ (virtual address space is in bits)

PTE size being $4$ bytes page table size will be $2^{49} \times 4 = 2^{51}$ bytes.

For inverted page table number of entries $ = 2GB/4KB = 2^{19}.$

Each PTE being eight bytes for inverted page table, size of inverted page table $ = 2^{19} \times 8 = 2^{22}$ bytes.
selected by
Answer:

Related questions

2 votes
2 votes
1 answer
1