Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

There is a 6 4 bytes two - way set associative data cache array where each cache block contains 8 bytes on a 1 6

There is a 64 bytes two-way set associative data cache array where each cache block contains 8 bytes on a 16- bit processor. Assume a true LRU replacement policy. Assume that the cache is initially empty (all valid bits are zero). Suppose we are accessing the memory locations in the order of 4,7,68,32,0,40,12,10
M, H, M, M, M, M, M, H
a) How many index bits, offset bits, and tag bits are there?
b) How many of these address requests are hits/misses?
c) What is the hit ratio? (Hint: you need to compute the number of sets first)
d) How many blocks are replaced?
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

Database Processing Fundamentals Design

Authors: Marion Donnie Dutton Don F. Seaman

14th Edition Globel Edition

1292107634, 978-1292107639

More Books

Students also viewed these Databases questions

Question

What are the basic purposes of antitrust policy?

Answered: 1 week ago

Question

Why could the Robert Bosch approach make sense to the company?

Answered: 1 week ago