Consider a pipelined than can issue up to one instruction per cycle, but fewer may be issued because of pipeline hazards, multi-cycle latency ALU operations and memory access to slower memories. It has a clock speed of 3.2Ghz. It executes a program with 1.8 billion instructions in 1.4 seconds, devoting 90% of the CPU's time to the program. What was the actual achieved issue rate of instructions per cycle?

Respuesta :

Answer:

Achieved Instruction per cycle rate is [tex]4.11\times 10^{15}[/tex]

Solution:

As per the question:

Execution time, t = 1.4 s

No. of instructions being executed, n = 1.8 billion =

Clock speed of CPU, f = 3.2 GHz = [tex]3.2\times 10^{9} Hz[/tex]

Now, to calculate the actual issue rate achieved:

CPI (Cycle per Instruction) = [tex]\frac{t}{n\times f}[/tex]

CPI = [tex]\frac{1.4}{1.8\times 10^{6}\times 3.2\times 10^{9}}[/tex]

Instruction per cycle is given as the reciprocal of CPI:

Instruction per cycle = [tex]\frac{1.8\times 10^{6}\times 3.2\times 10^{9}}{1.4} = 4.11\times 10^{15}[/tex]