Question: Consider two different implementations, P1 & P2 of the same instruction set. There are five classes of instructions (A, B, C, D & E) in
Consider two different implementations, P1 & P2 of the same instruction set. There are five classes of instructions (A, B, C, D & E) in the instruction set. The clock rate & CPI of each class is given below:

(a) Assume that peak performance is defined as the fastest rate that a computer can execute any instruction sequence. What are the peak performances of P1 and P2 expressed in instructions per second?
(b) If the number of instructions executed in a certain program is divided equally among the classes of instructions except for class A, which occurs twice as often as each of the others, which computer is faster? How much faster is it?
(c) If the number of instructions executed in a certain program is divided equally among the classes of instructions except for class E, which occurs twice as often as each of the others, which computer is faster? How much faster is it?
P2 P2 Clock CPI CPI CPI CPI CPI rate Class A Class B lass C Class D Class E (GHz) 2.0 4.0 2.0 3.0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
