CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Considers pipeline system with 6 segments. Segment delays are 5 ns. 8 ns, 6 ns, 9 ns, 7 ns and 8 ns. Intermediate register delay is 1 ns which is used after each segment. In the pipeline 1000 instructions are executed. Among 1000 instructions 20% are branch instructions each of which incurs 3 pipeline stall cycles. 30% of total 1000 instructions cause resource conflict because of which 1 stall cycles incurred for each instruction. The speed-up of this pipeline as compared to the corresponding non-pipeline system is _______

A
3.957
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
5.657
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
2.257
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
4.857
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is C 2.257
option (c)

Pipeline cycle time (tp)=max(5,8,6,9,7,8)+1=9+1=10ns

1 instruction execution time in non-pipeline system

(ta)=5+8+6+9+7+8=43 ns

Pipeline time=[(k+n1)+extra cycles]tp

=[(6+10001)+(200 3)+(300 1)] 10 ns

=1905 * 10ns

=19050 ns

Non-pipeline time=nin

=1000 * 43 ns

= 43000ns

speed up=4300019050=2.257

flag
Suggest Corrections
thumbs-up
0
similar_icon
Similar questions
View More
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Handling Hazards 2
OTHER
Watch in App
Join BYJU'S Learning Program
CrossIcon