retagged by
1,027 views

3 Answers

Best answer
7 votes
7 votes
let tm be access time of memory

so tc=tm/20

 time without cache =tm

with cache =0.8*tm /20 +0.2*tm

                =4.8/20 tm

speed up= time without cache/time with cache

            =tm/(4.8tm/20)

            =20/4.8

             =4.16
selected by
1 votes
1 votes

Time taken by Main Memory 20X

  "         "       "   Cache Memory X

For access the data time taken without cache  20X

                                    "        "       with cache 0.8*X +0.2*20X =0.8X+4X=4.8X

Speedup=20X /4.8X =4.16

0 votes
0 votes

Speed up =    1  /  ( (1-% of the time cache is used)+(% of the time cache is used/speed up using cache))

Related questions

0 votes
0 votes
1 answer
2
1 votes
1 votes
1 answer
3
8 votes
8 votes
4 answers
4