Question: 2.1) Consider two different processors, P1 and P2, which implement the same instruction set architecture. The instructions can be divided into four classes according to

 2.1) Consider two different processors, P1 and P2, which implement the

2.1) Consider two different processors, P1 and P2, which implement the same instruction set architecture. The instructions can be divided into four classes according to their CPI: classes A, B, C, and D. P1 has a clock rate (f1) of 3.3GHz and CPIs of 1,2,2, and 2 (associated to the given order of classes) and P2 has a clock rate (f2) of 2.7GHz and CPIs of 4,2,1, and 1 , respectively. We are given a program X, which has a dynamic instruction count (IC) of 1.5 million. The instruction distribution is as follows: 12.5% class A, 10% class B, 70% class C, and 7.5% class D. 1.a) What is the effective CPI for program X on P1 and P2 ? 1.b) What is the CPU time when executing program X on P1 and P2 ? Which processor is the fastest? 1.c) What is the total number of elapsed clock cycles when executing program X on P1 and P2 ? 1.d) Defining performance as number of instructions per second, compute the performance for P1 and P2. 1.e) We are trying to reduce the CPU time by 25%, but this leads to an increase of 20% on the CPI. What clock rate should we have for each processor

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!