1. Consider three different processors P1, P2, and P3 executing the same instruction set. P1 has a 3 GHz clock rate and a CPI of 1.5. P2 has a 2.5 GHz clock rate and a CPI of 1.0. P3 has a 4.0 GHz clock rate and has a CPI of 2.2.

    a. Which processor has the highest performance expressed in instructions per second?

    image.png

    b. If the processors each execute a program in 10 seconds, find the number of cycles and the number of instructions.

    c. We are trying to reduce the execution time by 30%, but this leads to an increase of 20% in the CPI. What clock rate should we have to get this time reduction?

  2. The Pentium 4 Prescott processor, released in 2004, had a clock rate of 3.6 GHz and voltage of 1.25 V. Assume that, on average, it consumed 10W of static power and 90 W of dynamic power. The Core i5 Ivy Bridge, released in 2012, has a clock rate of 3.4 GHz and voltage of 0.9 V. Assume that, on average, it consumed 30 W of static power and 40 W of dynamic power. a. For each processor find the average capacitive loads.

    image.png

    b. Find the percentage of the total dissipated power comprised by static power and the ratio of static power to dynamic power for each technology.

    c. If the total dissipated power is to be reduced by 10%, how much should the voltage be reduced to maintain the same leakage current?

    Note: power is defined as the product of voltage and current.

  3. Assume a program requires the execution of 50 ×106 FP instructions, 110 ×106 INT instructions, 80 ×106 L/S instructions, and 16 ×106 branch instructions. The CPI for each type of instruction is 1, 1, 4, and 2, respectively. Assume that the processor has a 2 GHz clock rate. a. By how much must we improve the CPI of FP instructions if we want the program to run two times faster?

    b. By how much must we improve the CPI of L/S instructions if we want the program to run two times faster? c. By how much is the execution time of the program improved if the CPI of INT and FP instructions is reduced by 40% and the CPI of L/S and Branch is reduced by 30%?