The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
0 votes
100 views
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 (791 points) | 100 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 pipelining...in 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 Loyal (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 Active (3k points)


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

36,194 questions
43,647 answers
124,088 comments
42,928 users