1. Engineering
  2. Computer Science
  3. 3 consider two different implementations p1 and p2 of the...

Question: 3 consider two different implementations p1 and p2 of the...

Question details

3. Consider two different implementations, P1 and P2, of the same instruction set. There are five classes of instructions (A, B, C, D and E) in the instruction set. P1 has a clock rate of 4 Ghz. P2 has a clock rate of 6 Ghz The average number of cycles for each instruction class for P1 and P2 is as follows: ClassCPI on P1 CPI on P2 a) If the number of instructions executed in a certain programis divided equally among the classes of instructions except for class A, which occurs twice as often as each of the others, how much faster is P2 than Pl? (hint: find the frequencies for each instruction class to calculate the average CPl) b) Asuming the CPI values from (a), at what clock rate would P1 have the same performance as the 2 Ghz version of P2?

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution