GATE CS 2021 Set 2 | Question 58
Operating Systems › Memory Management · NAT · 2 marks · Answer: 4108
- Question 58Operating Systemsnat2 marksConsider a three-level page table to translate a 39-bit virtual address to a physical address as shown below.
The page size is 4KB ( bytes) and the page table entry size at every level is 8 bytes. A process is currently using 2GB ( bytes) virtual memory which is mapped to 2GB of physical memory. The minimum amount of memory required for the page table of across all levels is ______ KB.<----------- 39-bit virtual address -----------> | Level 1 | Level 2 | Level 3 | Page | | offset | offset | offset | offset | | 9 bits | 9 bits | 9 bits | 12 bits |Answer: 4108
Solution
2GB bytes pages. Level-3 tables: tables, each 4KB KB. Level-2 tables: tables KB. Level-1: 1 table KB. Total KB.
More GATE PYQ on Memory Management
All GATE CS Operating Systems PYQ →Attempt GATE CS 2021 Set 2 in real GATE exam mode
Full paper with a timer, the GATE interface and a topic-wise analysis — free.
Create free account →