in Operating System edited by
451 views
1 vote
1 vote



i got 44 as answer. givne answer is 48
they took PTE to be 3 Bytes
correct answer is?

in Operating System edited by
451 views

2 Answers

1 vote
1 vote
Best answer

Given logical address  =  48 bits and the addressing is byte addresable type..

So logical address space  = 248 B

Given page size  = 16 kB  =  214 B

So no of pages  =   248-14   = 234

So no of entries in page table  =  234

Also no of frames  =  16 GB / 16 kB  =  220

So no of frame bits  = log2 220  =  20 bits

So no of bits in 1 page table entry  = 20 + 2(for protection as mentioned in question)

                                                   =  22 bits

So page table size  =  234 * 22

                             =  22 * 16 Gb 

                             =  22 * 2 GB

                             =  44 GB

Hence size of page table = 44 GB

                             

selected by

3 Comments

"each address defers to byte in memory"  what does it means ??
0
0
It means memory is Byte addressable.
0
0

Here is "contradiction" btw 44GB OR 48GB

https://gateoverflow.in/112333/pte-paging

0
0
2 votes
2 votes

44 gb ia correct 

1 comment

"each address defers to byte in memory"  what does it means ??
0
0

Related questions

0 votes
0 votes
1 answer
2