Question: 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.

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 3 6593 2415 9 815 3725 9 10 4 6 8 5 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

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!