(4 pts) We are comparing the performance of two different microprocessors, M1 an
ID: 3741655 • Letter: #
Question
(4 pts) 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 M11 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 (show MIPS for both machine)? Which machine has better performance (calculate better by how much percent)? Justify your answers 4. Instruction Class Cvcles needed Instruction Frequency M1 M2 25% 35% 40% 4Explanation / Answer
ANSWER:
a) To compute improved presentation of the equipment locate the standard
b) CPI of together the equipment , Average CPI of M1 :
c) Clock per teaching = (25/100)*1 + (35/100)*4 + (40/100)*5 = 0.25 + 1.4 + 2 = 3.65 Average CPI of M2 :
d) Clock per instruction = (25/100)*2 + (35/100)*3 + (40/100)*5 = 0.5 + 1.05 + 2 = 3.55 By scheming the standard
e) CPI it is finished that the presentation of mechanism M1 is improved since it has improved CPI than M2 .
f) b) The MIPS of both the equipment is planned as , For mechanism M1 , standard MIPS rating = clock rate / (CPI*106) = 2*109 / (3.65 *106) = 2*103 / 3.65 = 547.94
g) For machine M2 , standard MIPS rating = clock rate / (CPI*106) = 3*109 / (3.55 *106) = 3*103 / 3.55 = 845.070
h) By calculating average MIPS , the better MIPS rating is in attendance for the machine M2 that is 845.070
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.