ISRO | ISRO CS 2020 | Question 6

Consider a 5-segment pipeline with a clock cycle time 20 ns in each sub operation. Find out the approximate speed-up ratio between pipelined and non-pipelined system to execute 100 instructions. (If an average, every five cycles, a bubble due to data hazard has to be introduced in the pipeline.).
(A) 5
(B) 4.03
(C) 4.81
(D) 4.17


Answer: (B)

Explanation: According to given data, speedup is

= (Time taken by non-pipeline) / (Time taken by pipeline)
= (5*100*20) / {(100+20+5 - 1)*20}
= 4.03

Option (B) is correct.

Quiz of this Question

My Personal Notes arrow_drop_up
Article Tags :

1


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.