Answered step by step
Verified Expert Solution
Link Copied!

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.

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Concepts Of Database Management

Authors: Joy L. Starks, Philip J. Pratt, Mary Z. Last

9th Edition

1337093424, 978-1337093422

More Books

Students also viewed these Databases questions