Consider a computer system with 40-bit virtual addressing and page size of sixteen kilobytes. If the computer system has a one-level page table per process and each page table entry requires 48 bits, then the size of the per-process page table is __________ megabytes.
GATE CSE 2016Operating System › Memory Management & Virtual MemoryVerified
GATE CSE 2016 PYQ: Consider a computer system with 40 40 40 -bit virtual addressing and page size of sixteen kilobytes. If the…
Answer
384
Approach
Compute the number of virtual pages from the 40-bit virtual address space and the 16 KB page size, then multiply by the per-entry page-table size in bytes, and convert the result to megabytes.
The one-level page table contains $2^{26}$ entries, each 6 bytes, giving 384 MB.
Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.