Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

9. Suppose we have a processor with a base CPI of 1, assuming all references hit in the primary cache. Consider a two-level cache,

image text in transcribed

9. Suppose we have a processor with a base CPI of 1, assuming all references hit in the primary cache. Consider a two-level cache, where the miss rates per instruction at the primary cache and the secondary cache are 5% and 1%, respectively. Suppose the miss penalties for an access to the main memory and the secondary cache are 100 and 10 clock cycles, respectively. (10%) (a) What is the effective CPI for a one-level cache where only the primary cache is used without the secondary cache? (5%) (b) What is the effective CPI for a two-level cache where both the primary cache and the secondary cache are used? (5%)

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

Professional Android 4 Application Development

Authors: Reto Meier

3rd Edition

1118223853, 9781118223857

Students also viewed these Programming questions