1,145 views
4 4 votes
A nonpipelined processor operating at 1 MHz is converted into a synchronous pipelined processor with five stages requiring 3.5 μsec, 2.5 μsec, 3 μsec, 2.5 μsec and 3.5 μsec, respectively. The delay of the latches is 1 μsec. The speedup of the pipeline processor for a large number of instructions is ________.
(Upto 2 decimal places)

 

I solve it using speedup= non pipe/pipe

                                     = cpi*t/cpi*

                                     =1*1/1*4.5

                                     =0.22

 

but given ans is 3.33

speedup =(3.5+2.5+3+2.5+3.5)/4.5

              =3.33

why my ans is wrong ? please explain

2 Answers

2 2 votes
Non pipeline means after the completion of first instruction, second instruction will execute, and after the completion of second instruction , third instruction will execute and so on. So we have to sum all the stages delay in case of non pipelined.
0 0 votes

The time needed for non-pipelined process (NP) = Sum of time tor each stages 
               = (3.5 + 2.5 +3+ 2.5 3.5)micro sec
               = 15 micro sec
Time needed for pipelined processor (P)=T,,r- Buffer delay
             Ts = max (all stages rime)
               = max (3.5 + 2.5 +3+ 2.5 + 3.5)1 micro sec
               = 3.5 micro sec
             P =  r- Buffer delay
               = 3.5 pee r- 1 micro sec
               = 4.5 micro sec 
         speedup Non pipeline time / Pipeline time
                 15/4.5 micro sec = 3.3 micro sec ANS
                 

Position:
Show:

Related questions

2 2 votes
1 1 answer
195
195 views
sanya_Singh 1 asked May 14
195 views
COA
A computer's memory hierarchy has a single cache with a 8.5ns access time and a 98% hit rate. Main memory has a 100 ns access time. If we replace the cache with another o...
2 2 votes
0 0 answers
139
139 views
sanya_Singh 1 asked May 14
139 views
COA
Consider a write through cache which can fulfil 76.5% of CPU’s all memory requirements. Main memory has an access time of 1000ns, cache memory access time is 100ns. Cache...
3 3 votes
2 2 answers
625
625 views
GO Classes asked Feb 13
625 views
Consider a processor with instruction size of $2\,\text{bytes}$ and $16$ registers. The instruction set consists of three instruction formats $L$, $M$, and $N$.$L$: has $...
3 3 votes
1 1 answer
642
642 views
GO Classes asked Feb 13
642 views
Consider the following statements about interrupts.$\text{S1}:$ A non vectored interrupt generally requires more time to identify the interrupting device compared to a ve...