GATE / CS ARCHIVE

GATE CSE 2011 / QUESTION 41

Pipeline throughput with unequal stage delays

Computer Organization & Architecture · Pipelining & Hazards · Full GATE CSE 2011 paper

GATE 2011, Q41 2 marks · MCQ
Report issue

Pipelining & Hazards

Question 41, GATE 2011: An ideal four-stage instruction pipeline has combinational delays S1=5 ns, S2=6 ns, S3=11 ns, S4=8 ns. A 1 ns pipeline register follows every stage, including the last. Approximately what is its steady-state speedup over the corresponding non-pipelined implementation?

(A) 4.0
(B) 2.5
(C) 1.1
(D) 3.0
Tap to enlarge
Your answer
Answer & solution

Official answer: B

The non-pipelined combinational delay is 5+6+11+8=30 ns. The pipelined clock period is determined by the slowest stage plus its pipeline-register delay: 11+1=12 ns. In ideal steady state one instruction completes every 12 ns, so the conventional throughput speedup is 30/12=2.5, option B. If the non-pipelined implementation also counts a final 1 ns output register, the ratio is 31/12≈2.58, still the same approximate option. This is steady-state throughput, not the latency speedup of one instruction.

After filling, different instructions occupy the four stages concurrently. The clock cannot advance every average-stage delay; the slowest stage must finish before its register captures the result. That sets 12 ns per output instruction despite three faster stages. One instruction still traverses four pipeline cycles, but the question asks steady-state throughput. Using the ideal stage-count speedup of four would require balanced stages with negligible register overhead, neither of which holds here.

Original paper, page 11 · Answer key