1,688 views
1 votes
1 votes

Consider the machine with 64 MB Physical Memory and a 34 bit Virtual Address Space. If the page size is 4KB, the appropriate sizes of conventional and inverted page table sizes are:

a) 4M, 4K

b)4K, 4M

c)4M, 16K

d)16K, 4M.

soln: is Option C. but my ans is (7MB, 28KB) 

2 Answers

0 votes
0 votes

Is my ans correct ?

0 votes
0 votes
Page size = $2^{12}$

PAS = $2^{26}$

VAS = $2^{34}$

No of pages $= 2^{34}/2^{12} = 4M$

No of frames $= 2^{26}/2^{12} = 16K$

Page table entry has frame number, no of bits required to address frames $= log 2^{14} = 14 bits$

So Page Table size $= 4M * 14bits = 7MB$

Inverted Page table entry has frame number, no of inverted page table entry = no of frames.

So Page Table size $= 16k * 14bits = 28KB$

Related questions

0 votes
0 votes
0 answers
1
SSR17 asked Feb 8
206 views
we have 8 pages (each side 32B) to store in physical memory of 2^32 bits how many bits are required to identify each page , according to me 3 bits are required but that i...