GATE Computer ScienceVery hardGATE CS (PYQ pattern)

The logic of a processor takes 48 ns per instruction unpipelined. Pipelining into k stages gives a cycle time of 48/k + 3 ns (latch overhead), but each extra stage adds 0.12 to the CPI, so CPI = 1 + 0.12(k − 1). Which number of stages k minimises the time per instruction?

  1. A. 8
  2. B. 15
  3. C. 22
  4. D. 11

Correct answer: D. 11

Time(k) = (48/k + 3)(1 + 0.12(k − 1)); evaluating k = 1, 2, 3, … gives its minimum at k = 11 (16.20 ns), while k = 8 gives 16.56 ns and k = 15 gives 16.62 ns.

More Computer Organization and Architecture questions

Exams that ask this topic