1
2.0kviews
Calculate the hit and miss using various page replacement policies LRU, OPT, FIFO for following sequence (page frame size 3) 4,7,3,0,1,7,3,8,5,4,5,3,4,7,534 state which one is best for above example?
1 Answer
written 2.5 years ago by |
Given String Sequence - 4,7,3,0,1,7,3,8,5,4,5,3,4,7,5,3,4
Frame Size - 3
String | 4 | 7 | 3 | 0 | 1 | 7 | 3 | 8 | 5 | 4 | 5 | 3 | 4 | 7 | 5 | 3 | 4 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Frame 3 | 3 | 3 | 3 | 7 | 7 | 7 | 5 | 5 | 5 | 5 | 5 | 7 | 7 | 7 | 7 | ||
Frame 2 … |