Answered step by step
Verified Expert Solution
Question
00
1 Approved Answer
1 . 5 [ 4 ] < 1 . 6 > Consider three different processors P 1 , P 2 , and P 3 executing
Consider three different processors P P and P executing the same instruction set. P has a GHz clock rate and a CPI of P has a GHz clock rate and a CPI of P has a GHz clock rate and has a CPI of a Which processor has the highest performance expr essed in instructions per second? b If the processors each execute a program in seconds, find the number of cycles and the number of instructions. c We are trying to reduce the execution time by but this leads to an increase of in the CPI. What clock rate should we have to get this time reduction? Compilers can have a profound impact on the performance of an application. A ssume that for a program, compiler A results in a d ynamic instruction count of E and has an execution time of s while compiler B results in a d yn amic instruction count of E and an execution time of s a Find the average CPI for each program given that the processor has a clock cy cle time of ns b Assume the compiled progr ams run on two different processors. 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? c A new compiler is d eveloped that u ses only oES instructions and h as an average CPI of What is the speedup of u sing this new compiler versus u sing compiler A or B on the original processor? Assume for arithmetic, loadstore and branch instructions, a processor has CPis of and respectively. Also assume that on a single processor a program requires the execution of arithmetic instructions, loadstore instructions, and million branch instructions. Assume that each processor has a GHz clock frequency. Assume that, as the program is parallelized to run over multiple cores, the number of arithmetic and loadstore instructions per processor is divided by x p where pis the number of processors but the number of branch instructions per processor remains the same. Find the total execution time for this program on and processors, and show the relative speedup of the and processor result relative to the single processor result. If the CPI of the arithmetic instructions was doubled, what would the impact be on the execution time of the program on or processors? To what should the CPI of loadstore instructions be reduced in order for a single processor to match the performance of four processors using the original CPI values?
Consider three different processors P P and P executing the same
instruction set. P has a GHz clock rate and a CPI of P has a GHz clock rate
and a CPI of P has a GHz clock rate and has a CPI of
a Which processor has the highest performance expr essed in instructions per
second?
b If the processors each execute a program in seconds, find the number of cycles
and the number of instructions.
c We are trying to reduce the execution time by but this leads to an increase of
in the CPI. What clock rate should we have to get this time reduction?
Compilers can have a profound impact on the performance of an
application. A ssume that for a program, compiler A results in a d ynamic instruction
count of E and has an execution time of s while compiler B results in a
d yn amic instruction count of E and an execution time of s
a Find the average CPI for each program given that the processor has a clock cy cle
time of ns
b Assume the compiled progr ams run on two different processors. 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?
c A new compiler is d eveloped that u ses only oES instructions and h as an average
CPI of What is the speedup of u sing this new compiler versus u sing
compiler A or B on the original processor?
Assume for arithmetic, loadstore and branch instructions, a processor has CPis
of and respectively. Also assume that on a single processor a program
requires the execution of arithmetic instructions, loadstore
instructions, and million branch instructions. Assume that each processor has a
GHz clock frequency.
Assume that, as the program is parallelized to run over multiple cores, the number of
arithmetic and loadstore instructions per processor is divided by x p where pis
the number of processors but the number of branch instructions per processor
remains the same.
Find the total execution time for this program on and
processors, and show the relative speedup of the and processor result
relative to the single processor result.
If the CPI of the arithmetic instructions was doubled,
what would the impact be on the execution time of the program on or
processors?
To what should the CPI of loadstore instructions be
reduced in order for a single processor to match the performance of four
processors using the original CPI values?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered 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