0
26kviews
Calculate the number of page faults and page hits for the page replacement policies FIFO,Optimal &LRU for the given reference string 6,0,5,2,0,3,0,4,2,3,0,3,2,5,2,0,5,6,0,5(assuming 3 frame size)

Subject: Operating System

Topic: MEMORY MANAGEMENT

Difficulty: Hard

1 Answer
2
1.8kviews

Frame size = 3

FIFO Page Replacement

enter image description here

Number of hits = 5

Number of Miss = 15

Optimal Page Replacement

enter image description here

Number of Hits = 12

Number of Miss = 8

LRU Page Replacement

enter image description here

Number of Hits = 8

Number of Miss = 12

Please log in to add an answer.