Operating System
4.In a page virtual storage system, each process has 4 memory allocation memory blocks. When the process begins executing, the data area is empty. If now it calls the pages in the program with this sequence: 10 Marks
5 , 3 , 6 , 4 , 3 , 5 , 1 , 4 , 2 , 5 , 6 , 4 , 2 , 5 , 1
Write down the number of page faults when using the following page-replacement algorithms and draw the Page trend graph.
FIFO page-replacement algorithm
LRU page-replacement algorithm
(3)OPT page-replacement algorithm
Comments
Leave a comment