Question: Assume that we have a machine that with perfect cache behaves as given in table below. Instruction Type Frequency CPI ALU 43% 1 Loads 21%

Assume that we have a machine that with perfect cache behaves as given in table below.

Instruction Type

Frequency

CPI

ALU

43%

1

Loads

21%

2

Stores

12%

2

Branches

24%

2

a) What is the average CPI for this machine?

b) With a cache, we have measured that ALU instructions have a miss rate of 5%, data references have a miss rate of 10%, branches have a miss rate of 15%, and the miss penalty is 40 cycles. Find the average CPI for the non-ideal cache machine.

c) Determine how much faster the machine is with no cache misses versus with cache misses.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!