The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
0 votes
What is the definition of an ideal pipeline?

On searching over the internet I found only speed up formulas but no where the difference between ideal and non-ideal was mentioned.
asked in CO & Architecture by Junior (975 points) | 144 views

2 Answers

0 votes
In computer when we measure the performance of CPU in CPI that is clock per instructions..means how may clock cycles are needed to execute 1(single) instruction...

SO to get max output we have implemented which under idle condition CPI=1...means we are able to execute one instruction at one clock of CPU....for that we divide the COMPETE WORKING OF PC into modules like 

FETCH,DECODE,EXECUTE,WRITE-BACK...and we perform them in pipelining.....

While in actual implementation ..due to DATA dependence or branch instruction we failed to get CPI=1..and CPI increases to 2 or 2.5 or more as per dependency...
answered by Boss (10.5k points)
0 votes
i found out this formula :

Pipeline CPI=Ideal Pipeline CPI +Structural Stalls + RAW Stalls  +WAR  Stalls+ WAW Stalls +Control Stalls

so ideal pipeline is a pipeline with no stalls in it.
answered by Active (3k points)

Related questions

+3 votes
0 answers
+2 votes
1 answer
asked Nov 29, 2017 in CO & Architecture by Parshu gate Active (5k points) | 98 views

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

44,262 questions
49,758 answers
65,849 users