Question: Question 2 Consider two different implementations P 1 and P 2 of the same instruction set architecture. The instructions can be divided into 4 classes

Question 2 Consider two different implementations P1 and P2 of the same instruction set
architecture. The instructions can be divided into 4 classes according to their CPI (classes A,
B, C, and D). P1 has a clock frequency of 2.5GHz and the CPIs of the 4 classes of instructions
are 1,2,3, and 4. P2 has a clock frequency of 3GHz and the CPIs of the four classes of
instructions are 4,3,2, and 1. Consider a program with 1 million instructions with 10%
instructions of Class A,20% of class B,50% of class C and 20% class D.
a) Which implementation P1 or P2 is faster? Express your answer as a speed up, i.e. P1 is
faster than P2 by X% or vice-versa.
b) Now consider making the slower machine faster. That is, supposing you find P2 is
slower than P1, what can you do, so that P2 becomes faster than P1, without changing
the clock frequency of either processor or the overal instruction count.

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 Programming Questions!