Question: Consider three different processors P1, P2, P3 executing the same set of instructions. P1 has a 3 GHz clock rate and a CPI of 1.5.
Consider three different processors P1, P2, P3 executing the same set of instructions. P1 has a 3 GHz clock rate and a CPI of 1.5. P2 runs at 2 GHz and has a CPI of 1.2. P3 has a 4 GHz clock rate and a CPI of 2.4.
a. Which processor has the highest performance in terms of instructions per second?
b. If each processor executes a program in 5 second, find the number of cycles and the number of instructions for each processor.
c. We would like to reduce the execution time by 20%. This will, however, increase the CPI by 25%. What clock rate do we need to obtain this amount of time reduction?
// I have already completed these but I want to double check my work. Thank you!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
