Redirected
retagged by
5,066 views
4 votes
4 votes

Consider a non-pipelined machine with $6$ stages; the lengths of each stage are $\text{20ns, 10ns, 30ns,25ns, 40 ns}$ and $\text{15ns}$ respectively. Suppose for implementing the pipelining the machine adds $\text{5 ns}$ of overhead to each stage for clock skew and set up. What is the speed up factor of the pipelining system (ignoring any hazard impact)?

  1. $7$
  2. $14$
  3. $3.11$
  4. $6.22$
retagged by

5 Answers

7 votes
7 votes

Without pipeline For 1 instruction- 20ns+10ns+30ns+25ns+40ns+15ns =140ns

With ideal pipeline it will take 1 cycle time. Her 1cycle time is max(20+5=25, 15, 35, 30, 45, 20) = 45ns

Speedup= Time without pipelining/Time with pipeling = 140/45= 3.11

Answer: C

1 votes
1 votes
In implementation without pipeline, the total time for execution would be the  sum of the delays of all the six stages

Let it be denoted by  $T_{wp}$

$\therefore$  $T_{wp}$  $=$  $20+10+30+25+40+15$ $ns$   $=$  $140$ $ns$

In pipeline implementation , $5$ $ns$ overhead has to be added to individual stages in the pipeline and the execution time of pipeline would be the stage delay having the maximum value i.e.  $45$ $ns$ ($T_{p}$)

So, speedup would be:  $\frac{ T_{wp}}{T_{p}}$  $=$  $\frac{140}{45}=3.11$ $ns$

Option C is correct
0 votes
0 votes

Given data,
Non pipelined machine with 6 stages,
Length of each stage=20,10,30,25,40,15 ns.
Implementing the pipelining the machine adds each stage=5ns overhead.
Speed up factor of the pipelining system=?

Step-1: Non pipeline for 1 instruction to all stages=20+10+30+25+40+15 ns
=140 ns
Step-2: Per cycle adds 5ns overhead to each stage =25,15,35,30,45,20 ns
= 45 ns
Step-3: Speedup factor= Time non pipelining / Time with pipeline
= 140/45
= 3.11 ns

Answer:

Related questions

0 votes
0 votes
3 answers
1
admin asked Mar 30, 2020
1,966 views
We have $10$-stage pipeline, where the branch target conditions are resolved at stage $5$. How many stalls are there for an incorrectly predicted branch?$5$$6$$7$$4$
0 votes
0 votes
4 answers
2
admin asked Mar 30, 2020
1,620 views
In a cache memory if total number of sets are ‘$s$’, then the set offset is:$2^8$$\log_2s$$s^2$$s$
3 votes
3 votes
5 answers
3
admin asked Mar 30, 2020
3,032 views
A stack organized computer has which of the following instructions?zero-addressone-addresstwo-addressthree-address
1 votes
1 votes
3 answers
4
admin asked Mar 30, 2020
1,887 views
A RAM chip has $7$ address lines, $8$ data lines and $2$ chips select lines. Then the number of memory locations is __________$2^{12}$$2^{10}$$2^{19}$$2^{13}$