Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Assume that a virtual memory is managed using a buffer pool. The buffer pool contains five buffers and each buffer stores one block of data.
Assume that a virtual memory is managed using a buffer pool. The buffer pool contains five buffers and each buffer stores one block of data. Memory accesses are by disk block ID. Assume the following series of memory accesses takes place: 4. 5 2 5 12 3659 3 2 41 5 9 8 15 3 7 2 5 9 104 685 For each of the following buffer pool replacement strategies, show the contents of the buffer pool at the end of the series, and indicate how many times a block was found in the buffer pool (instead of being read into memory). Assume that the buffer pool is initially empty. (20%) First in, first out. Least frequently used (with counts kept only for blocks currently in memory, counts for a page are lost when that page is removed, and the oldest item with smallest count is removed when there is a tie). Least frequently used (with counts kept for all blocks, and the oldest item with the smallest count is removed when there is a tie) a. b. c. d. Least recently used. e. Most recently used (replace the block that was most recently accessed)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started