Question: Consider two different implementations of the same instruction set architecture on two different processors. The instructions can be divided into four classes according to their

 Consider two different implementations of the same instruction set architecture on

Consider two different implementations of the same instruction set architecture on two different processors. The instructions can be divided into four classes according to their CPI (class A, B, C D). Processor P1 with a clock rate of 2GHz and CPIs of 1, 2, 3 and 4, and Processor P2 with a clock rate of 4GHz and CPIs of 3,3,3 and 5 . Given a program with a dynamic instruction count of 1.000.000 instructions divided into classes s follows: 20% class A, 10% class B, 30% class C, and 40% class D. Answer based on the solution of the following questions. (a) Find the clock cycles required in both processors. [7 points] (b) Find the total time required to execute this program in both processors. [7 points] (c) What is the global CPI of each processor? [7 points] (d) Which is faster for the given program? P1 or P2? [7 points] (e) What do you see as the biggest problem for the slower processor? [6 points]

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