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
Get step-by-step solutions from verified subject matter experts
