Home / Expert Answers / Computer Science / 2-consider-two-different-processors-mathrm-p-1-and-mathrm-p-2-executing-the-sa-pa414

(Solved): 2. Consider two different processors \( \mathrm{P}_{1} \) and \( \mathrm{P}_{2} \) executing the sa ...





2. Consider two different processors \( \mathrm{P}_{1} \) and \( \mathrm{P}_{2} \) executing the same instruction set. These
2. Consider two different processors \( \mathrm{P}_{1} \) and \( \mathrm{P}_{2} \) executing the same instruction set. These instructions can be classified into four classes: A, B, C, and D. The CPI values of each class for the two processors can be given as follows: Suppose that the clock rates of \( P_{1} \) and \( P_{2} \) are \( 2.5 \mathrm{GHz} \) and \( 3 \mathrm{GHz} \), respectively. Given a program with a dynamic instruction count of 1000000 instructions divided into classes as follows: \( 10 \% \) class \( \mathrm{A}, 20 \% \) class B, \( 50 \% \) class \( \mathrm{C} \), and \( 20 \% \) class D. (a)Calculate the effective CPI for each of the two processors while executing the program. (b)Calculate the time taken by each of the two processors to execute the program.


We have an Answer from Expert

View Expert Answer

Expert Answer


The solution for
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe