Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

B . Scientists at Indian Science Research Institute, wanted to check whether implementing cache replacement using two existing cache memory, replacement algorithm LFU and FIFO

B. Scientists at Indian Science Research Institute, wanted to check whether implementing cache replacement using two existing cache memory, replacement algorithm LFU and FIFO would heip reducing miss rate. The proposed new algorithm would work in two phases. The first 6 clocks (0-5) follow LFU and next 6 clocks (6-11) follow FIFO. The main memory block sequence is
0,4,0,2,1,5,0,1,2,5,0,2
What is the Hil Ratio for the proposed new replacement algorithm? Justify your answer by filling in the following table. In LFU; in case of tie between cache lines for replacement, select the line which has been there for longer time in the cache.
[4]
\table[[,LFU,FIFO],[Time,0,1,2,3,4,5,6,7,8,9,10,11],[Block#,0,4,0,2,1,5,0,1,2,5,0,2],[L0,O1,9,O1,O2,O3,O2,0,O2,0.,O6,0,0a
image text in transcribed

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

Project Management A Systems Approach to Planning Scheduling and Controlling

Authors: Harold Kerzner

10th Edition

978-047027870, 978-0-470-5038, 470278706, 978-0470278703

Students also viewed these Databases questions

Question

What is our budget?

Answered: 1 week ago