GATE | Gate IT 2005 | Question 44
We have two designs D1 and D2 for a synchronous pipeline processor. D1 has 5 pipeline stages with execution times of 3 nsec, 2 nsec, 4 nsec, 2 nsec and 3 nsec while the design D2 has 8 pipeline stages each with 2 nsec execution time How much time can be saved using design D2 over design D1 for executing 100 instructions?
(A) 214 nsec
(B) 202 nsec
(C) 86 nsec
(D) – 200 nsec
Answer: (B)
Explanation:
Total execution time = (k + n – 1) * maximum clock cycle
Where k = total number of stages and n = total number of instructions
For D1 :
k = 5 and n = 100
Maximum clock cycle = 4ns
Total execution time = (5 + 100 – 1) * 4 = 416
For D2 :
k = 8 and n = 100
Each clock cycle = 2ns
Total execution time = (8 + 100 – 1) * 2 = 214
Thus, time saved using D2 over D1 = 416 – 214 =202
Thus, option (B) is correct.
Please comment below if you find anything wrong in the above post.
Recommended Posts:
- GATE | Gate IT 2005 | Question 40
- GATE | Gate IT 2005 | Question 26
- GATE | Gate IT 2005 | Question 25
- GATE | Gate IT 2005 | Question 24
- GATE | Gate IT 2005 | Question 23
- GATE | Gate IT 2005 | Question 22
- GATE | Gate IT 2005 | Question 21
- GATE | Gate IT 2005 | Question 20
- GATE | Gate IT 2005 | Question 19
- GATE | Gate IT 2005 | Question 18
- GATE | Gate IT 2005 | Question 27
- GATE | Gate IT 2005 | Question 28
- GATE | Gate IT 2005 | Question 29
- GATE | Gate IT 2005 | Question 39
- GATE | Gate IT 2005 | Question 38



