edited by
4,414 views
0 votes
0 votes

Consider a pipeline with 5 stages and each stage with delay as shown below :  IF  ID  EX  MEM  WB 400 ps  225 ps  350 ps  450 ps  300 ps    Try to improve performance above pipeline, you have decided to break up 2 of the above stages into 2 shorter stages.we have Number of instruction equal to 2. What is the maximum speedup achieved in new pipeline system?

Edit Similar gate question :https://gateoverflow.in/118719/gate2017-1-50

edited by

2 Answers

Best answer
3 votes
3 votes

Number of instructions = 2
Number of clock cycles=k+(n-1)clocks
k:number of stages
n:number of instructions
Number of cycles = 7 + (2 – 1) clocks
= 8 clocks

Cycle Time = Maximum stage delay + Register delay
Since nothing is mentioned about register delay we consider it as 0.
Cycle Time = 350ps

CTnew = 8 * 350 ps
= 2800 ps 

for old pipeline

Number of cycles = 5 + (2 – 1) clocks
= 6 clocks

CT(old)=6*450=2700 ps

Speedup = CTold / CTnew = 2700 / 2800 = 0.964

selected by
0 votes
0 votes
When both pipelines become stable, then for each cycle both pipeline processors will process 1-1 instruction.

clock cycle time for processor 1 will be 450ps and for processor 2 clock cycle time will be 350ps.

speedup =450/350 = 1.2857

Related questions

2 votes
2 votes
4 answers
1
1 votes
1 votes
1 answer
3
PEKKA asked Nov 2, 2016
426 views
What is happening in fetch stage decode stageof pipeline . Please explain in details .