Wednesday, 26 January 2022

OS-(I) Assignment 4: Demand Paging and Page Replacement Algorithms

Demand Paging


NEW.

Set A.

(1) Write the simulation program to implement demand paging and show the page scheduling and total number of page faults for the following given page reference string. Give input n as the number of memory frames.
Reference String : 12,15,12,18,6,8,11,12,19,12,6,8,12,15,19,8
1) Implement FIFO 
2) Implement LRU.


Set B.

(1)Write the simulation program to implement demand paging and show the page scheduling and total number of page faults for the following given page reference string. Give input n as the number of memory frames.
Reference String : 12,15,12,18,6,8,11,12,19,12,6,8,12,15,19,8
1) Implement OPT
2) Implement MFU.

0 Comments:

Post a Comment