S= tn/ tp = S1 + S2 +S3 + S4 / max (S1+10 , S2+10, S3+10, S4+10) =60+70+100+80/max(60+10, 70+10, 100+10,80+10)
= 310/110=2.818 ≃2.9 option A
Tn = Time to execute N instructions in a non-pipelined design
=60 + 70 +100 + 80 + 10 = 320
Tp= Time to execute N instructions in a pipelined design
=100 +10 =110
Speed Up = Tn / Tp
= 320 / 110 =2.9
if in the question they have mention the buffer delay or interstage delay then we have to consider it . Interface register is used for interstage transfer of data (Buffer overhead) and it is same for all the stages.
Speed Up = Time Without Pipeline / Time With Pipeline
= (60 +70 + 100 + 80) / max(60,70,100,80) + 10
= 310/ 110
= 2.8
You might get a doubt why we did not included interstage buffer delay in Non Pipeline. It is because it is used in pipeline for operand forwarding from one stage to other. But in Non Pipeline since we are executing one instruction at a time. So there is no operand forwarding and therefore not required.
64.3k questions
77.9k answers
244k comments
80.0k users