Question: 1. (8pts) Consider three different processors P, P2, and P3 executing the same instruction set with the clock rates and CPIs given in the following



1. (8pts) Consider three different processors P, P2, and P3 executing the same instruction set with the clock rates and CPIs given in the following table Processor Clock Rate CPI 2.2 GHz1.6 1.7 GHz 1.2 2.9 GHz 2.4 Answer the following questions: (a) Which processor has the highest performance (as defined in class)? (b) If the processors each execute a program in 12 seconds, find the number of instructions and the number of cycles for each processor. (c) We are trying to reduce the current time of 12s by 30% but this leads to an increase of 20% in the CPI. For each processor, what clock rate should we have to achieve this time reduction'? (d) Using the results above, explain why it is inappropriate to compare the performance of each processor using the Clock Rate as a lone metric. What are the three key factors that affect erformance? 2. (6pts) The following table shows the number of instructions for a program. Arithmetic Store Load Branch Total 800 600 40 120 40 (a) Assuming that arithmetic instructions take 1 cycle, load and store 5 cycles, and branch 2 cycles, what is the execution time of the program in a 2.2 GHz processor? (b) What is the CPI for the program? (c) If the number of load instructions can be reduced by one-half, what is the speed-up and the new CPI
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
