GATE Computer ScienceVery hardGATE CS (PYQ pattern)

A processor's logic takes 60 ns per instruction unpipelined. Split into k stages, the cycle time is 60/k + L ns (L = latch overhead) and hazards make CPI = 1 + 0.1(k − 1). Which integer k minimises the time per instruction when L = 3 ns, and which when L = 1 ns?

  1. A. 13 and 13
  2. B. 13 and 23
  3. C. 23 and 13
  4. D. 13 and 39

Correct answer: B. 13 and 23

Time(k) = (60/k + L)(0.9 + 0.1k) = 54/k + 6 + 0.9L + 0.1Lk, minimised near k = √(54/(0.1L)). L = 3: √180 ≈ 13.4 → checking 13 and 14 gives 13. L = 1: √540 ≈ 23.2 → 23. Cheaper latches justify deeper pipelines (by √3, not 3×).

More Computer Organization and Architecture questions

Exams that ask this topic