GATE - 2016 | OS | Consider a computer system with 40-bit virtual addressing and page size

GATE - 2016 | OS | Consider a computer system with 40-bit virtual addressing and page size
Posted on 09-02-2022

GATE - 2016 [Operating System]

Question:

Consider a computer system with 40-bit virtual addressing and a 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.

A

384 MB

B

385 MB

C

386 MB

D

387 MB

     

Solution:

Option (A) is Correct

From the above question, we got the following information.
Size of memory = 240 

Page size = 16 KB = 214


No. of pages = size of Memory / page size

= 240/ 214 = 226


Size of page table = 226 * 48 / 8 bytes

= 26 * 6 MB = 384 MB

Thank You