Question

Consider the following reference string: How many

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

a. FIFO:

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

Total number of page faults is: 10.

b. OPT:

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

Total number of page faults is: 8.

c. LRU:

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

Total number of page faults is: 10.

Add a comment
Know the answer?
Add Answer to:
Consider the following reference string: How many page faults would this string produce under the 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