Question

Given the following page-reference string, show the allocation of 3 frames of memory using FIFO ,...

Given the following page-reference string, show the allocation of 3 frames of memory using FIFO , LRU and OPT. How many page faults for FIFO, LRU and OPT?

3,1,2,1,3,1,4,1,3,2,4,2,5,6,4,6,2,1,6,5

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

Please give the thumbs up, If it is helpful for you. Thank you!!

First-In-First-Out (FIFO) Replacement:

On a page fault, the frame that has been in memory the longest is replaced.

Optimal Replacement:

It looks forward in time to see which frame to replace on a page fault.

Least Recently Used (LRU) Replacement:

On a page fault, the frame that was least recently used in replaced.

See the Image for answer:

ナナ* LRU ケ . 冲

Add a comment
Know the answer?
Add Answer to:
Given the following page-reference string, show the allocation of 3 frames of memory using FIFO ,...
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
ADVERTISEMENT