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
146 views
in Computer by (96.5k points)
closed by
Consider a non-pipelined processor with a clock rate of 2.5 gigahertz and average cycles per instruction of four. The same processor is upgraded to a pipelined processor with five stages; but due to the internal pipeline delay, the clock speed is reduced to 2 gigahertz. Assume that there are no stalls in the pipeline. The speed up achieved in this pipelined processor is_________.

1 Answer

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

Data:

Clock rate for non-pipeline = 2.5 GHz

CPI for non-pipeline = 4

Clock rate for pipeline = 2 GHz

CPI for pipeline = 1

Formula:

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

Execution time = CPI × Cycle time (CPI is cycles per instruction)

\({\rm{Cycle\;time\;}} = \frac{1}{{{\rm{clock\;rate}}}}\)

Calculation:

Execution time for non-pipeline = \(4 \times \frac{1}{{2.5}} = 1.6\;ns\)

Execution time for pipeline = \(1 \times \frac{1}{2} = 0.5\;ns\)

Speed up = \({{1.6}}{{0.5}} = 3.2\)

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

...