Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 7 : Cache Mapping - Fully Associative Cache ( 1 0 points ) Assume a cache that has 3 2 blocks where each block

Question 7: Cache Mapping - Fully Associative Cache (10 points)
Assume a cache that has 32 blocks where each block has 4 words. What would be the miss rate for the following address references for fully associative cache: 0,4,16,132,232,160,1024,32,144,3120,180,2180?(Notice that each cache block has 4 words, i.e.16 bytes, so word-aligned addresses 0,4,8 and 12 will map to the same block in the cache). Use the following table to show the changes made in the cache and indicate whether an access is a hit or miss. At the end, calculate and report the miss rate.
\table[[Set,32-way (blocks),Word 0,Word 1,Word 2,Word 3,Hit / miss],[0,0,,,,,],[1,,,,,],[2,,,,,],[3,,,,,],[4,,,,,],[5,,,,,],[6,,,,,],[7,,,,,],[8,,,,,],[9,,,,,],[10,,,,,],[11,,,,,],[12,,,,,],[13,,,,,],[14,,,,,],[15,,,,,],[16,,,,,],[17,,,,,],[dots,dots,dots,dots,dots,dots],[31,,,,,]]
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_2

Step: 3

blur-text-image_3

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

Data Access Patterns Database Interactions In Object Oriented Applications

Authors: Clifton Nock

1st Edition

0321555627, 978-0321555625

More Books

Students also viewed these Databases questions