Question

Consider the following page reference string for a three-frame memory: 6 3 1 5 3 4...

Consider the following page reference string for a three-frame memory: 

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

Apply LRU, Clock and FIFO algorithms


What will be the number of page faults for each replacement algorithm  note that page faults at the beginning are counted?

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

① LRO Algorithm. Replace page the which is not used for longest time! 1 - 0 12 16 63115 34 32 54 3.4.5.153 31 51212 2 66 65.5bit o.. same page comes In clock algorithm, we have to set reference bit. Reference bit may be oorl When page comes first it@ Clock Algorithm Take reference bit for o or I page 6 1 4. O 0 O 0 3 6 3 6 2104 5 5. 3 o 06 3 3 5 3 & 5 3 4 1 3 2 5 2 3 3 4(3 FIFO Algorithm oldest page is replaced for for replacement 6 3 15 34 3 2 54 3.4.5.1 53.16 3:1 016665555 212 213131313 31 3

Add a comment
Know the answer?
Add Answer to:
Consider the following page reference string for a three-frame memory: 6 3 1 5 3 4...
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