Question: 1 . Consider the following data about two computers X & Y running different compilers. Instruction Type CPI ( Cycles Per Instruction ) Instruction Count
Consider the following data about two computers X & Y running different compilers.
Instruction Type CPI Cycles Per Instruction
Instruction Count in billions
A
B
C
D
Instruction Type CPI
Instruction Count in billions
A
B
C
D
The clock rate of Computer X & Y is GHz & GHz respectively. Calculate
a average CPI of both machines.
b Which machine is faster based upon
i Execution Time
ii MIP rate.
Suppose a program takes seconds to run on a particular hard ware. Now suppose on a new
hardware, X of instructions can be run parallel by a factor of times. Calculate the
overall speed up that has been achieved. Also what is the new execution time.
Note: For value of X use last two digits of your student number.
Note: For all questions, submit your work with detailed calculations.
Formulas:
Average CPI Calculation:
Average CPICPIi times Fraction of Instructionsi
Execution Time Calculation:
Execution TimeInstruction Counttimes CPItimes Clock Rate
MIPS Million Instructions Per Second Calculation:
MIPSClock Rate times
CPI Or MIPSExecution Time times
Instruction Count
speedup S
SP P Sp
P is the proportion of the program that can be parallelized. P X;
Sp is the speedup factor of the parallel portion.
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
