edited by
1,560 views
0 votes
0 votes
Consider a memory access to main memory on a cache miss takes 100 ns and memory access to cache at cache hit takes 10 ns. If 75% processors memory request results in cache hit the average memory access time is _____ ns.
edited by

2 Answers

0 votes
0 votes

Mm access time after cache miss is 100 ns so it has included total time .. for cache miss and mm access 

0 votes
0 votes

given the main memory access time when the cache miss is =100ns

cache access time=10ns

and hit  rate is =75%=0.75

there are 2 ways to find out memory access time

case1 : both cache and memory accessed simultaneously

then  avg memory access time= (hit rate*cache access time)+(miss rate*main memory access time)

                                        =(0.75*10)+((1-0.75)*100)=32.5ns

 

case 2: both cache and memory accessed serially

then  avg memory access time=(hit rate*cache access time)+(miss rate*(cache access time+main memory access time)

                                              =(0.75*10)+(0.25*(10+100))

                                             =35ns

 

Related questions

1.6k
views
1 answers
4 votes
Ram Swaroop asked Jan 30, 2019
1,619 views
Consider a n-way cache with 'x blocks of 64 words each. The main memory of the system is having 8 million words. Size of the tag field is 16 bits and ... tags is 1024 bytes. What will be the values of n and x respectively?Answer 256 512
1.3k
views
1 answers
5 votes
Ram Swaroop asked Jan 29, 2019
1,343 views
A CPU cache is organized into 2 level cache L1 and L2 The penalty for L1 cache miss and L2 cache miss are 60 and 30 respectively for 1200 memory references ... miss to main memory is 70 clock cycles. The average memory access time will be
709
views
1 answers
2 votes
Jay Bhutada 1 asked Jan 9, 2019
709 views
A hypothetical processor on cache read miss requires one clock to send an address to Main Memory (MM) and eight clock cycles to access a 64-bit word from ... with average read miss after increasing the line size is (Upto 2 decimal places)