Operating Systems

2. Memory Management - Virtual Memory (20 points) Given that main memory is composed of only three page frames for public use 2. Memory Management – Virtual Memory (20 points) Given that main memory is composed of only three page frames for public use and that a seven-page program(which pages a, b, c, d, e, f, g) requests pages in the following order: a, c, b, d, a, c, e, a, c, b, d, e Answer the following questions: . Using the FIFO page removal algorithm, indicate the movement of the pages into and out of the available page frames (called a page trace analysis), indicating each page fault with an asterisk (*). Then computes the failure ratio. • Increase the size of memory so it contains four page frames for public use. Using the same page requests as above and FIFO, do another page trace analysis and compute the failure ratio. • What general statement can you make from this example? Explain your answer.



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *