Deprecated: Implicit conversion from float-string "1545995102.807" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1545995102.807" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1545995102.807" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1545995102.807" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803

Deprecated: Implicit conversion from float-string "1545995102.807" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 594

Deprecated: Implicit conversion from float-string "1641369178.052" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1641369178.052" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1641369178.052" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1641369178.052" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803

Deprecated: Implicit conversion from float-string "1641369178.052" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 594
Find average CPI of non-pipeline CPU(assume ideal case for pipelining)? / GATE Overflow for GATE CSE
retagged by
2,868 views
2 votes
2 votes
Consider a 5 stage instruction pipeline having latencies (in ns) 1, 2, 3, 4 and 5 respectively.
Find average CPI of non-pipeline CPU when speed up achieved with respect to pipeline is 4
(assume ideal case for pipelining)?
(a) 1.23
(c) 1.66
(b) 1.33
(d) 1.73
retagged by

1 Answer

Best answer
9 votes
9 votes

Tnon-pipeline = sum of all stages delay = 15ns

Tpipeline  = max delay among all stages delay = 5ns

Given speedup = 4

Speedup = $\frac{\text{Execution of non pipeline}}{\text{Execution of pipeline}}$

Execution of non pipelined = CPInon-pipelined * Cycle time

Execution of non pipelined = CPInon-pipelined * 15ns

Now,

Execution of pipelined = CPIpipelined * cycle time 

In pipelined ideally CPIpipelined = 1

Execution of pipelined = 1 * 5ns

4 = (CPInon-pipelined *15)/(1*5)

CPInon-pipelined = 4/3

CPInon-pipelined = 1.33

Ans = 1.33

selected by

Related questions

579
views
1 answers
0 votes
2.1k
views
2 answers
0 votes
Sourajit25 asked Nov 26, 2017
2,112 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 ment...
14.8k
views
1 answers
12 votes
PEKKA asked Oct 27, 2016
14,783 views
Collition Vector : 1011010 MAL for the above Collition Vector is _____Please also tell me how to calculate efficiency and throughtput
2.6k
views
2 answers
2 votes
biranchi asked Nov 17, 2016
2,624 views
Consider a non-pipelined processor design which has a cycle time of 10ns and average CPI of 1.4. If each pipeline stage adds extra 20ps due to register setup delay. The p...
Total PHP MySQL Other RAM
Time (ms) % Time (ms) % File count Time (ms) % Query count Time (ms) % Amount %
Setup 4.2 6% 2.6 3% 72 1.7 2% 2 0.0 0% 569k 47%
Control 12.4 17% 1.4 2% 5 11.2 16% 12 0.0 0% 223k 18%
View 1.6 2% 1.6 2% 12 0.0 0% 0 0.0 0% 116k 9%
Theme 45.6 65% 3.9 5% 15 41.7 60% 3 0.0 0% 280k 23%
Stats 5.3 7% 0.1 0% 0 5.2 7% 1 0.0 0% 0k 0%
Total 69.0 100% 9.7 14% 104 59.9 86% 18 0.0 0% 1190k 100%