0
966views
Consider the following page traces in a demand paging system with 3 page frames. 2, 3, 1, 1, 2, 3, 4, 6, 2, 3, 4, 3, 1, 2, 3.Determine the number of page faults and hit ratio using FIFO and LRU pa

Subject: Operating System

Topic: Memory Management

Difficulty: Medium

1 Answer
0
5views

Sequence is 2, 3, 1, 1, 2, 3, 4, 6, 2, 3, 4, 3, 1, 2, 3 & frame size is 3

FIFO page replacement algorithm enter image description here

No of hits - 4
Miss (Page fault ) -11

LRU page replacement algorithm enter image description here

No of hits - 5
Miss (Page fault ) -10

Please log in to add an answer.