Answered step by step
Verified Expert Solution
Question
1 Approved Answer
During the discussion of Iron Law in the classroom, we pointed out the pittfalls of using of only a subset of the parameters ( e
During the discussion of Iron Law in the classroom, we pointed out the pittfalls of using of only a subset of the parameters eg CPI, clock period, instruction count, etc as a performance metric to compare alternatives. To illustrate this, assume that we have two processors to compare: P and P P has a clock rate of GHz average CPI of and instructions to execute a given program. On the other hand, P has a clock rate of GHz average CPI of and instructions to execute the same program. a points One mistake people often do is to consider the processor with the highest clock
frequency would have the best performance. Calculate the performance of the given program on
both processors and check if this is true for P and P
b points Another mistake people often do is to consider that the processor executing more
instructions would take longer time to finish. Considering that P is going to execute
instructions, calculate the number of instructions that P is going to execute in the same amount of
time CPIs remain the same
c points Yet another mistake people often do is to use MIPS millions of instructions per
second as a metric to compare the processors and consider the processor with higher MIPS has
better performance. Calculate the MIPS of each processor and chech if this is true for P and P
d points Why do you think that we have different number of instructions needed on P and P
for the same program given at the beginning? What are the implications of this on performance
expectations for our programs? Please explain.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started