Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A byte addressable computer has a small data cache capably of holding eight 32 bit words. Each cache block consists ofd one 32-bit word. When

A byte addressable computer has a small data cache capably of holding eight 32 bit words. Each cache block consists ofd one 32-bit word. When a given program is executed, the processor reads data sequentially from the following hex addresses

200, 204, 208, 20C, 2F4, 2F0, 200, 204, 218, 21C, 24C, 2F4,

This pattern is repeated four times.

a) Assume that the cache is initially empty. Show the contents of the cache at the end of each pass through the loop if a direct mapped cache is used, and compute hit rate

b) Repeat part a) for a fully associative cache that uses LRU replacement algorithm

c) Repeat part a) for a four-way set associative cache with LRU replacement

Step by Step Solution

3.52 Rating (169 Votes )

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

Managerial Accounting A Focus on Ethical Decision Making

Authors: Steve Jackson, Roby Sawyers, Greg Jenkins

5th edition

324663854, 978-0324663853

More Books

Students also viewed these Operating System questions