Awesome q2a theme
0 votes
26 views
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 (6 points) | 26 views
0
$1GB,2^{18}=256K,14-bits$
0
can you elaborate?

1 Answer

0 votes
a)

size of physical address is 30-bit

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

b)

Page Size/frame Size=4KB

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

c)

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$
ago by (407 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.
Top Users Jun 2020
  1. vps123

    4 Points

  2. ummokkate

    1 Points

  3. Kushagra गुप्ता

    1 Points

  4. faseela45

    1 Points

  5. srestha

    1 Points

7,385 questions
1,744 answers
10,702 comments
90,357 users