A non-pipelined processor takes 700 ps per instruction. When split into 5 pipeline stages, the clock period becomes 170 ps. What is the approximate speedup for a very long instruction stream?
Correct answer A. 4.12
Explanation
For a long stream the pipeline completes one instruction every cycle, so speedup tends to 700 / 170 ≈ 4.12. It falls short of the stage count of 5 because the stages are unbalanced (the slowest sets the clock) and pipeline registers add overhead. 4.38 is 700 / 160, which ignores register delay. Balanced stages and small latch overhead push speedup towards k.
Answer checked How we write and check questions
Discussion