Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider a program that can execute with no stalls and a CPI of 1 if the underlying processor can somehow magically service every load instruction

Consider a program that can execute with no stalls and a CPI of 1 if the underlying processor can somehow magically service every load instruction with a 1-cycle L1 cache hit. In practice, 9% of all load instructions suffer from an L1 cache miss, 6% of all load instructions suffer from an L2 cache miss, and 3% of all load instructions suffer from an L3 cache miss (and are serviced by the memory system). An L1 cache miss stalls the processor for 8 cycles while the L2 is looked up. An L2 cache miss stalls the processor for 25 cycles while the L3 is looked up. An L3 cache miss stalls the processor for an additional 200 cycles while data is fetched from memory. What is the CPI for this program if 35% of the program's instructions are load instructions?

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

Students also viewed these Databases questions