363 views
0 votes
0 votes
Doubt

In multi level paging Is it required that  all the pages of the page table should be in main memory like inner page table and outer page table should be in main memory or either by loading only outer page table we can run the process if any inner page table page required it generate a trap(page fault )and that inner page will put into the main memory by os ?

1 Answer

1 votes
1 votes
Ultimatly our goal is to maximize CPU utilization but when we have a long process then its page table is too big that if we store entire page table in main memory then it reduces Utilization . So to overcome with this we apply paging on page table also.  

When we have a page reference we index for this on outer page table and then find out the address of inner page table . We then Go and fatch to related pAGE TABLE and addresss translation takes place .

NOTE :  ADDRESS STORED IN OUTER PAGE TABLE ARE OF SIZE OF MAIN MEMORY .ADDRESS.

Ex: if main memory required 16 bit  then each entry requires  to store 16 bit data .

Related questions

0 votes
0 votes
0 answers
2
Prince Sindhiya asked Dec 16, 2018
211 views
What is normalised turn around time for a process ? if we are using any scheduling algorithm
0 votes
0 votes
2 answers
3
Satbir asked Jul 22, 2018
358 views
If a process comes from block state to ready state then what can be said about preemption ?
3 votes
3 votes
1 answer
4
set2018 asked Jul 7, 2017
2,445 views
please explain the concept of precedence graph in operating system concurrent processes.