Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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