Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
145 views
in Computer by (108k points)
closed by

Consider a 6-stage instruction pipeline, where all stages are perfectly balanced. Assume that there is no cycle-time overhead of pipelining. When an application is executing on this 6-stage pipeline, the speedup achieved with respect to non-pipelined execution if 25% of the instructions incur 2 pipeline stall cycles is ________.

1 Answer

0 votes
by (101k points)
selected by
 
Best answer

Data:

Instruction pipeline = 6 stage

25% of the instructions incur 2 pipeline stall cycles

Formula:

Speed up = \(\frac{{Execution\;time\left( {non\;pipeline} \right)}}{{Execution\;time\;\left( {pipeline} \right)}}\)

Time with pipeline  =1+ stall freqency×stall cycle
Calculation:

Time without pipeline = 6 stages=6 cycles

Time with pipeline = =1+.25 × 2 =1.5

Speed up = \(\frac{{6}}{{1.5}} = 4\)

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...