• retagged by
2,873 views
0 0 votes
Consider 3 enhancements EA, EB, and EC with speedup 30, 20, 15 respectively are applied to old system to make a new system. If enhancements EA and EB are usable for 25% of the time, then the fraction (in %) of the time must EC be used to achieve an overall speed-up of 10 is ________. (in integer form)

1 Answer

0 0 votes
Suppose there are 4 types of instructions A, B, C, and D and there are 100 units of time taken by them.

It is given that 25 units of time is taken by type A, 25 units of time is taken by type B, x units of time is taken by type C, and the rest(= 50-x) unit of time is taken by type D.

 

Now, when partial speed ups are applied time taken by type A instructions = 25/30 (Since the speed up is of 30)

time taken by type B = 25/20

time taken by type C = x/15

time taken by type D = (50-x)/1 = 50-x

Total time taken now = 25/30 + 25/20 + x/15 + 50-x

 

Speedup = (former time)/(new time) = 100/ (25/30 + 25/20 + x/15 + 50-x) = 10. (Solving this x comes out to be 45, which is 45% of 100).

 

Getting to Amdahl's law:

Speed up = 1/ ( (Sum of fractional speedup) + (1-fractions of given instructions) )    

[This equation is equivalent to above if we had assumed 1 instruction instead of 100]

Sorry for the bad formatting. Please let me know if this is unclear.
Position:
Show:

Related questions

1 1 vote
2 2 answers
4.2k
4.2k views
Alina asked Jan 1, 2019
4,175 views
Pipeline system has 4 stages and each stage takes 10ns.30% instructions are branch instructions .each branch instruction introduces delay of 3 cycle. What is speed up fac...
0 0 votes
0 0 answers
1.2k
1.2k views
Alina asked Dec 21, 2018
1,155 views
Non pipelined system takes 130 ns to process an instruction. A program of 1000 instructions is executed in non pipelined system. Then same program is processed with proce...
1 1 vote
1 1 answer
31.3k
31.3k views
Alina asked Dec 21, 2018
31,290 views
Non pipelined system takes 130ns to process an instruction . A program of 1000 instructions is executed in non pipelined system. Then same program is processed with proce...
2 2 votes
0 0 answers
1.1k
1.1k views
rahul sharma 5 asked Jan 25, 2018
1,082 views
Consider a hypothetical system,which is used in application where program refers integers units and floats units.Floating units are enhanced so that they run 2 times fast...