GATEverse
← GATE CSE 2024 Set 2

Q54

NAT2 marks

Consider a 3232-bit system with 4 KB4 \mathrm{~KB} page size and page table entries of size 44 bytes each. Assume 1 KB=2101 \mathrm{~KB}=2^{10} bytes. The OS uses a 22-level page table for memory management, with the page table containing an outer page directory and an inner page table. The OS\text{OS} allocates a page for the outer page directory upon process creation. The OS\text{OS} uses demand paging when allocating memory for the inner page table, i.e., a page of the inner page table is allocated only if it contains at least one valid page table entry. An active process in this system accesses 20002000 unique pages during its execution, and none of the pages are swapped out to disk. After it completes the page accesses, let X\text{X} denote the minimum and Y\text{Y} denote the maximum number of pages across the two levels of the page table of the process. The value of X+Y\text{X+Y} is ___________.

Sign in to save attempts.

Loading…