a. Which processor has the best performance? b. Find the number of instructions
ID: 667912 • Letter: A
Question
a. Which processor has the best performance?
b. Find the number of instructions and the number of clock cycles for the program
4. The below table shows five different processors P1, P2, P3, P4, and P5 executing the same program with clock rates and CPls shown below. Answer the following. (20 Points) Processor Clock rate CPI P1 1.0 GHz 2.0 1.5 GHz 1.5 2.0 GHz 3.0 2.5 GHz 2.5 3.0 GHz 1.0 P2 P3 P4 P5 a. Which processor has the best perfomance? a. Which processor has the best performance? b. If each processor executes the program in 5 seconds, for each processor, find the number of instructions and the number of clock cycles for the program.Explanation / Answer
P1=2/1*10-9
P2=1.5/1.5*10-9
P3=3/2*10-9
P4=2.5/2.5*10-9
P5=1/3*10-9
SO P5 IS BEST PROCESSOR.
====================================
T=CPI*C*I
SO I=T/CPI*C
I=T*CR/CPI
INSTRUCTION FOR P1=5*1/2=2.5
INSTRUCTION FOR P2=5*1.5/1.5=5
INSTRUCTION FOR P3=5*2/3=3.3
INSTRUCTION FOR P4=5*2.5/2.5=5
INSTRUCTION FOR P5=5*3/1=15
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.