Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please answer all of the following questions clearly and show your work. ( Q 1 . 5 , 1 . 9 , 1 . 1

Please answer all of the following questions clearly and show your work.(Q 1.5,1.9,1.14)
Q1(10 points)
Consider three different processors P1,P2, and P3 executing the same instruction set. P1 has a 3GHz clock rate and a CPI of 1.5. P2 has a 2.5GHz clock rate and a CPI of 1.0. P3 has a 4.0GHz clock rate and has a CPI of 2.2.
Which processor has the highest performance expressed in instructions per second?
If the processors each execute a program in 10 seconds, find the number of cycles and the number of instructions.
3. We are trying to reduce the execution time by 30% but this leads to an increase of 20% in the CPI. What clock rate should we have to get this time reduction?
Q2(20 points)
Assume for arithmetic, load/store, and branch instructions, a processor has CPIs of 1,12, and 5, respectively. Also assume that on a single processor a program requires the execution of 2.56E9 arithmetic instructions, 1.28E9 load/store instructions, and 256 million branch instructions. Assume that each processor has a 2GHz clock frequency.
Assume that, as the program is parallelized to run over multiple cores, the number of arithmetic and load/store instructions per processor is divided by 0.7p(where p is the number of processors) but the number of branch instructions per processor remains the same.
1- Find the total execution time for this program on 1,2,4, and 8 processors, and show the relative speedup of the 2,4, and 8 processor result relative to the single processor result.
2- If the CPI of the arithmetic instructions was doubled, what would the impact be on the execution time of the program on 1,2,4, or 8 processors?
3- To what should the CPI of load/store instructions be reduced in order for a single processor to match the performance of four processors using the original CPI values?
Q3(20 points)
Assume a program requires the execution of 50106FP instructions, 110106 INT instructions, 80106LS instructions, and 16106 branch instructions. The CPI for each
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions