GATE | GATE-CS-2001 | Question 46
Consider a machine with 64 MB physical memory and a 32-bit virtual address space. If the page size is 4KB, what is the approximate size of the page table?
(A)
16 MB
(B)
8 MB
(C)
2 MB
(D)
24 MB
Answer: (C)
Explanation:
Physical Address Space = 64MB = 226B
Virtual Address = 32-bits, ∴ Virtual Address Space = 232B
Page Size = 4KB = 212B
Number of pages = 232/212 = 220 pages.
Number of frames = 226/212 = 214 frames.
∴ Page Table Size = 220×14-bits ≈ 220×16-bits ≈ 220×2B = 2MB.
Quiz of this Question
Please comment below if you find anything wrong in the above post
Please Login to comment...