Answered step by step
Verified Expert Solution
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,
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started