CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

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 table entry is 32-bit. The main memory is byte addressable. Which one of the followiong is the maximum number of bits that can be used for storing protection and other information in each page table entry?

Open in App
Solution

In page table, number of entries equal to number of pages in virtual memory and page table entry is equal to number of frames and other information i.e.

So, number of frames =Physical memoryPage size
=230212=218
So, number of bits for frames =log2(218)=18
We know that,
Page table entry = Number of bits for frames + Other information
32 = 18 + x
x = 32 - 18
x = 14

So, 14 bits can be used for storing protection and other information.

Note : Each page table entry must contain frame number.

flag
Suggest Corrections
thumbs-up
3
similar_icon
Similar questions
View More
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Working Set Model
OTHER
Watch in App
Join BYJU'S Learning Program
CrossIcon