Question: Given two processors P 1 and P 2 executing the same instruction set. P 1 has a 2 GHz clock rate and CPI of 2

Given two processors P1 and P2 executing the same instruction set. P1 has a 2GHz
clock rate and CPI of 2.5. P2 has a 3GHz clock rate and a CPI of 1.0. Answer the
following questions
a) What is the clock period of P1 in picoseconds?
b) If P2 takes 10 seconds to execute the program, what is the number of
instructions in the program (in billions)?
c) Which processor has the highest performance in instructions/second (P1 or P2)?
Assume for a given program 70% of the executed instructions are arithmetic, 10% are
load/store, and 20% are branch.
d) Given the assumption that an arithmetic instruction requires 2 cycles, a
load/store instruction takes 6 cycles and a branch instruction takes 3 cycles, find
the average CPI

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!