Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

a) Assume a cache hierarchy, where we have separate cache for instructions and data where the miss penalty for both is 100 cycles. The miss

image text in transcribed
a) Assume a cache hierarchy, where we have separate cache for instructions and data where the miss penalty for both is 100 cycles. The miss rate of the instruction cache is 4%; on the other hand, the miss rate for the data cache is 8%. If the processor has a CPI of 1.2 without any memory stalls. Assume the frequency of all loads and stores is 30% (combined). Calculate the effective CPI of the system, by accounting for the cache miss penalty. b) Consider a cache that has 4096 blocks, where each block contains 8 words. Assuming a 32-bit address, find the total number of tags bits and index bits for this for this cache when it is: i) direct mapped ii) 4-way set associative iii) 8-way set associative iv) fully-associative

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions