Question: 3 a . Consider choosing between two different compilers, A and B , to run the same high - level program. The program compiled using
a Consider choosing between two different compilers, A and B to run the same highlevel program. The program compiled using compiler A results in billion instructions and has an execution time of seconds. The program compiled using compiler B results in billion instructions and an execution time of seconds. If the compiled programs run on GHz processors, what is the average CPI for the programs compiled using compiler A and compiler B
b Assume the compiled programs using compiler A and B run on two different processors that have different clock cycle times but the same CPIs from part A If the execution times on the two processors are the same, how much faster is the clock of the processor running compiler As code versus the clock of the processor running compiler Bs code?
Consider the following two processors: P has a clock rate of GHz average CPI of and requires the execution of billion instructions. P has a clock rate of GHz an average CPI of and requires the execution of billion instructions.
a One usual fallacy is to consider the computer with the largest clock rate as having the highest performance. Is this true for P and P
bAnother fallacy is to consider that the processor executing the largest number of instructions will need a larger CPU time. Considering that processor P is executing a sequence of billion instructions and that the CPI of processors P and P do not change, determine the number of instructions that P can execute in the same time that P needs to execute billion instructions.
c A common fallacy is to use MIPS to compare the performance of two different processors, and consider that the processor with the largest MIPS has the largest performance. Is this true for P and P
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
