Awesome q2a theme
0 votes
In a virtual memory system, size of virtual address is 32-bit, size of physical address is 30-bit, page size is 4 Kbyte and size of each page table entry is 32-bit. The main memory is byte addressable.

i. What is the size of main memory?

ii. Find out, number of frames in main memory.

iii. Find out, number of bits used for storing other information in frame.
in Operating System by (5 points) | 38 views
can you elaborate?

1 Answer

+1 vote

size of physical address is 30-bit

Size of MM=$2^{30}=1GB$


Page Size/frame Size=4KB

# of frames$=\frac{2^{30}B}{2^{12}B}=2^{18}=256K$


PTE=32 bit

From b) we calculated # of bits for frame identification and that is 18-bits.

So remaining bits will be used for storing other information. So $32-18=14 -bits$
by (1.4k points)
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
Welcome to GATE CSE Doubts, where you can ask questions and receive answers from other members of the community.
8,589 questions
2,830 answers
95,549 users