Show at what points in time page replacements occur, and which pages are evicted, using the following page replacement algorithms: (a) FIFO (b) LRU

Systems Architecture
7th Edition
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Stephen D. Burd
Chapter11: Operating Systems
Section: Chapter Questions
Problem 3VE
icon
Related questions
Question

Imagine a virtual memory system where the RAM can only store two pages at a time. Suppose a program makes the following sequence of page accesses:

At time 0, page 5
At time 1, page 1
At time 2, page 5
At time 3, page 2
At time 4, page 5
At time 5, page 3
At time 6, page 5
At time 7, page 4

Show at what points in time page replacements occur, and which pages are evicted, using the following page replacement algorithms:
(a) FIFO
(b) LRU

Expert Solution
steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Knowledge Booster
Properties of Different Architectures
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning