wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

A processor takes 12 cycles to complete an instruction 1. The corresponding pipelined processor uses 6 stages with the execution times of 3, 2, 5, 4, 6 and 2 cycles respectively. What is the asymptotic speedup assuming that a very large number of instructions are to be executed?

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

The correct option is B 2
Non pipeline processor time (NP)

=12 cycle × Number of instruction

=12 n cycles


Pipeline processor time (P)

=(K+n1)× TP

=(61+n)× TP


TP=max (all stages times)

=max (3,2,5,4,6,2) cycles

=6 cycles


(P)=(61+n)× TP

=(5+n)× 6 cycles

=30+6 n cycles


So, Speed up=limn12n30+6n

=limn126
(Apply LHospital rule since (/))

=(126)=2


So, option (b) is correct.

flag
Suggest Corrections
thumbs-up
1
similar_icon
Similar questions
View More
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Levels of Management
BUSINESS STUDIES
Watch in App
Join BYJU'S Learning Program
CrossIcon