2079 8

CSC264 ยท 2079 ยท 5 marks

Consider the page references 7,0,1,2,0,3,0,4,2,3,0,3,2. Find the number of page fault using OPR and FIFO, with 4 page frame.

Consider the page references 7,0,1,2,0,3,0,4,2,3,0,3,2. Find the number of page fault using OPR and FIFO, with 4 page frame. [5]

Operating SystemsChapter 4: Memory ManagementPage Replacement AlgorithmsNumerical: page replacement algorithmsVideo solution
  • Reference string: 7, 0, 1, 2, 0, 3, 0, 4, 2, 3, 0, 3, 2 (13 references) - Number of frames: 4 --- Replace the page not needed for the longest time in the future. Ref Frames Fault? --------------------- 7 7 F 0 7,0 F 1 7,0,1 F 2 7,0,1,2 F 0 7,0,1,2 Hit 3 replace 7 (never used again) โ†’ 3,0,1,2 F ...