We are comparing the performance of two different microprocessors, M1 and M2. As
ID: 3584326 • Letter: W
Question
We are comparing the performance of two different microprocessors, M1 and M2. Assume a program P will be compiled into M2 instructions counting 20% more than M1 instructions. M1 has a 2 GHz clock rate while M2 has a 3 GHz clock rate. Instructions on these two machines can be classified into 3 classes as shown in the following table. Which machine has better MIPS? Which machine has better performance? By how much? Justify your answers. Instruction Class Cycles needed Instruction Frequency M1 M2 A 1 2 25% B 4 3 35% C 5 5 40%Explanation / Answer
please rate me first For P1, M2 is 4/3 (2 sec/1.5 sec) times as fast as M1. For P2, M1 is 2 times (10/5.0) times as fast as M2.