0
10kviews
Find page hit ratio by  i) FIFO   ii) LRU replacement scheme.

Consider main memory size is 3 pages. Following page address trace is generated by execution of a program.

enter image description here

Assume main memory is cleared initially. Find page hit ratio by

i)FIFOii) LRU replacement scheme.i) FIFO


1 Answer
0
620views

i) FIFO

enter image description here

Hit Ratio=(No.of Hits)(Total No.of Attempts)=3/10=0.3

ii) LRU Replacement scheme.

enter image description here

Hit Ratio=(No.of Hits)(Total No.of Attempts)=3/10=0.3

Create a free account to keep reading this post.

and 4 others joined a min ago.

Please log in to add an answer.