Question

Assuming that there are three frames available in main memory, for the following string of page...

Assuming that there are three frames available in main memory, for the following string of page references, determine how many page faults would be generated using the Optimal Page Replacement Algorithm.
1,2,4,3,1,3,5,1,2,4,5,3

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Total number of page fault = 7

Explanation:

Optimal Page Replacement Algorithm

An optimal page replacement algorithm will replace the page which will not be referred for the maximum duration in the future. It is impossible to implement because we can not see the future.

It provides the benchmark for another algorithm.

If a page is not found in the memory then page fault will occur.

The frame allocation table is given below:

Total number of page fault = 7

Add a comment
Know the answer?
Add Answer to:
Assuming that there are three frames available in main memory, for the following string of page...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT