2,432 views
2 votes
2 votes
Consider a $64$bit processor. A process has a $64$ bit logical address space with two-level paging. The outer table is indexed using 32-bits and the inner table using $16$bits. What is the size of outer page table size ?

a). $4GB$                              b). $8GB$

c). $32MB$                            d). $32GB$

2 Answers

4 votes
4 votes
32 bits for indexing outer page table.
So no of outer page entry=2^32.

Now among 64 bit virtual address 32 bit for outer page table index,16 bit for inner page table index..and rest 16 bit offset.

So page size=frame size=2^16 .

So among 64 bit physical address (64-16)=48 bit for frame no/indexing frame.

Now outer page table will contain address of inner page table i.e particular frame address.

So each outer page table entry size=48 bit.

So,Outer page table size=2^32*48=24GB.(No Option Matching)
0 votes
0 votes
given local address of 64 bit (32 bit outer page table+16 bit inner page table+16 bit offset)

in an  outer page each entry takes 16 bit(takes 2 byte)

so size 2^32 *2 byte=8GB

Related questions

0 votes
0 votes
0 answers
1
Dhawal Gajwe asked Feb 5, 2017
483 views
How can this be true...? I guess answer is b
4 votes
4 votes
5 answers
3
0 votes
0 votes
0 answers
4
Wanted asked Jan 17, 2017
625 views