0
874views
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

Create a free account to keep reading this post.

and 5 others joined a min ago.

Please log in to add an answer.