Question: Q4: Consider the following page reference string: 1, 2, 3, 4, 2, 1, 5, 6, 2, 1, 2, 3, 7, 6, 3, 2, 1,

Q4: Consider the following page reference string: 1, 2, 3, 4, 2,

 

Q4: Consider the following page reference string: 1, 2, 3, 4, 2, 1, 5, 6, 2, 1, 2, 3, 7, 6, 3, 2, 1, 2, 3, 6. How many page faults would occur for the following replacement algorithms, assuming one, two, three, four, five, six, and seven frames? Remember that all frames are initially empty, so your first unique pages will cost one fault each. LRU replacement FIFO replacement I Optimal replacement Q5: Consider the following page reference string: 7, 2, 3, 1, 2, 5, 3, 4, 6, 7, 7, 1, 0, 5, 4, 6, 2, 3, 0, 1. Assuming demand paging with four frames, how many page faults would occur for the following replacement algorithms? LRU replacement . FIFO replacement Optimal replacement Q6: Explain what thrashing is. What is the negative effect that thrashing has? How do you avoid thrashing?

Step by Step Solution

3.47 Rating (163 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Q4 One Frame LRU replacement 11 page faults FIFO replacement 11 page faults Optimal replacement 11 page faults Two Frames LRU replacement 10 page faul... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!