Which of the following statements with respect to K-segment pipelining are…
2020
Which of the following statements with respect to K-segment pipelining are true?
(A) Maximum speedup that a pipeline can provide is 𝑘 theoretically
(B) It is impossible to achieve maximum speed up 𝑘 in 𝑘-segment pipeline
(C) All segments in pipeline take same time in computation
Choose the correct answer from the options given below:
- A.
(A) and (B) Only
- B.
(B) and (C) Only
- C.
(A) and (C) Only
- D.
(A), (B) and (C)
Attempted by 254 students.
Show answer & explanation
Correct answer: A
Final answer: The correct true statements are the one that says the theoretical maximum speedup of a k-segment pipeline is k and the one that says it is impossible (in practical terms) to achieve that maximum. The claim that all segments take the same time is not generally true.
Explanation:
Theoretical upper bound on speedup: For a k-segment pipeline, the ideal (theoretical) maximum speedup is k. This assumes perfectly balanced stages, no pipeline register overhead, no hazards, and a steady stream of independent tasks.
Practical achievability: In practice, achieving the ideal k-fold speedup is effectively impossible because of register and latch overhead, imbalanced stage latencies, pipeline hazards (data, control, structural), and the cycles needed to fill and drain the pipeline. So the statement that reaching the theoretical maximum is impossible is intended in a practical sense and is correct as a real-world observation.
Equal-stage-time claim: It is not generally true that all segments take the same time. Equal stage durations are an ideal design goal to maximize utilization, but real pipelines often have unequal stage latencies; the slowest stage determines the pipeline clock period and thus limits speedup.
Conclusion: The theoretical maximum is k (true), the practical impossibility of reaching that maximum is a valid real-world statement (true in practice), and the claim that all segments take equal time is false in general. Therefore the correct selection includes the first two statements only.
A video solution is available for this question — log in and enroll to watch it.