2,079 views
2 votes
2 votes
Consider the cache memory which is 30 times fasterthan main memory and it uses 90% of the total time. The speed up gain of cache memory ( in 2 decimal places)

1 Answer

Best answer
3 votes
3 votes

This is a question based on Amdahl's law..Amdahl's law can be used wherever a section of a program uses some form of enhancement and other part remains unenhanced..

Speedup according to Amdahl's law is found as :

Speedup   =    1 / [ 1 - f1 - f2  + ..  +( f1 / S1) + ( f2/S2)  + ( f3/S3) .. ]

where f1 , f2 etc.  : fraction of enhancements

          S1 , S2 etc : Speedup corresponding to each fraction of enhancement

So here  f1   =  90%   =   0.9

            S1   =  30

Hence

Speedup      =   1 / [ 1 - 0.9  + 0.9 / 30 ]

                   =   1 / [ 0.1 + 0.03 ]

                   =   7.69         [ Correct to 2 decimal places ] 

selected by

Related questions

1 votes
1 votes
2 answers
1
Alina asked Jan 1, 2019
2,957 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 votes
0 votes
0 answers
2
Alina asked Dec 21, 2018
884 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 votes
1 votes
1 answer
3
Alina asked Dec 21, 2018
24,170 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...
0 votes
0 votes
0 answers
4
eyeamgj asked Dec 7, 2018
240 views
https://gateoverflow.in/18090/isro2011-41IN THIS QUESTION NOT GETTING ARJUN SIR’S ANSWER ….WHY 16 IS WRONG BY DOING LIKE SPEEDUP =OLD/NEW