GATE Computer ScienceHardGATE CS (PYQ pattern)

A non-pipelined datapath takes 100 + 120 + 90 + 150 + 110 ps per instruction. It is cut into those 5 stages with a 10 ps latch after each stage, the clock set by the slowest stage plus latch. A 60-instruction program runs on the pipeline with one 7-cycle stall (cache miss) and one 3-cycle branch-misprediction penalty. What is the speed-up of the pipeline over the non-pipelined datapath for this program?

  1. A. 3.081
  2. B. 3.054
  3. C. 3.340
  4. D. 2.889

Correct answer: D. 2.889

Non-pipelined: 60 × 570 = 34,200 ps. Pipelined: clock 150 + 10 = 160 ps, cycles = 5 + 60 − 1 + 7 + 3 = 74, time 11,840 ps. Speed-up = 2.889. Dropping the latch gives 3.081, dropping the fill cycles 3.054, dropping the stalls 3.340.

More Computer Organization and Architecture questions

Exams that ask this topic