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 (605 points) | 67 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 (7.9k 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 Loyal (3k points)

Related questions

+3 votes
1 answer
asked Oct 20, 2015 in CO & Architecture by khushtak Boss (8.4k points) | 2k views
+3 votes
0 answers
asked Jan 15 in CO & Architecture by pranab ray Active (2.1k points) | 33 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

34,268 questions
40,982 answers
39,895 users