CPUs and architecture
Approximately how many instructions per second can a processor with a 2 GHz clock and an average CPI (clocks per instruction) of 0.5 execute?
- A1 billion instructions
- B4 billion instructions
- C100 million instructions
Show answer and explanation
Answer: B. 4 billion instructions
There are 2×10⁹ clocks per second, and each instruction takes 0.5 clocks on average, so the number of instructions is 2×10⁹ ÷ 0.5 = 4×10⁹, or 4 billion. A CPI below 1 means multiple instructions are executed per clock, for example by a superscalar design.