378 views
0 votes
0 votes

 


Can anybody explain why are they dividing the number of pages by page size?
According to me, it should be – 

Page table size = Number of entries * entry size

i.e PT size = #pages * entry size

                   = [(2^52 * 36 )/2^40 * 8] = 18432 TB (which is nowhere close to the answer provided)

Can anybody explain what am I missing?


1 Answer

0 votes
0 votes

When we have to find the Page table size we have a formula


                              Page Table Size = No.of Entries In The Page Table * Entry Size (in bytes)

Here point to understand is that 

                                        Entry size = no. of bits for the frame + other some extra bits like I/V bits, dirty bits etc


so if entry size is not given then we find the bits required for the frames , the that becomes our frame size 
In the above question they are doing the same (Finding the number of buts for the frames and convert it in bytes) 

I hope this explaination is sufficient

 

Related questions