Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

a. what is the average CPI for each of the program b.what is the clock rate for

ID: 667913 • Letter: A

Question

a. what is the average CPI for each of the program

b.what is the clock rate for P2 and P3 that would reduce the execution time on P2 and P3 to that of P1?

5. The below table shows three different processors P1, P2, and P3 running three programs with the clock rates and time given below. Answer the following. (20 Points) Processor Clock rate Instructions Time P1 1.0 GHz 1 x 109 2 s P2 2.5 GHz 3 x 109 4 s P3 3.0 GHz2 x 1096 s a. What is the average CPI for each of the program? b. What is the clock rate for P2 and P3 that would reduce the execution time on P2 and P3 to that of P1?

Explanation / Answer

1.
cpi(p1) = 1*1/2=0.5
cpi(p2)=2.5*3/4=1.8
cpi(p3)=3*2/6=1

Average cpi = (0.5+1.8+1)/3
   =1.12