Question: (d) Consider two CPUs P1 and P2, each implementing the same ISA and executing a program P. Program P comprises four classes of instructions: A,

(d) Consider two CPUs P1 and P2, each implementing the same ISA and executing a program P. Program P comprises four classes of instructions: A, B, C, and D. The clock frequency of each CPU and CPI for each instruction class for each CPU is given in the table. i. Assume peak performance is defined as the fastest rate a CPU can execute any program (or instruction sequence). What is the peak performance of CPUs P1 and P2 expressed in instructions per second? ii. If the number of instructions executed by CPUs P1 and P2 for program P is divided equally among the instruction classes except for class A, which occurs twice as often as each of the others, which CPU executes program P. What is the speedup and percent speedup? iii. If the number of instructions executed by CPUs P1 and P2 for program P is divided equally among the instruction classes except for class E, which occurs twice as often as each of the others, which CPU executes program P. What is the speedup and percent speedup
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
