retagged by
15,608 views
18 votes
18 votes
A direct mapped cache memory of $1$ MB has a block size of $256$ bytes. The cache has an access time of $3$ ns and a hit rate of $94 \%$. During a cache miss, it takes $2$0 ns to bring the first word of a block from the main memory, while each subsequent word takes $5$ ns. The word size is $64$ bits. The average memory access time in ns (round off to $1$ decimal place) is______.
retagged by

5 Answers

0 votes
0 votes
ans is 13.5  consider sequential setup of heirarchy

Explaination : h1*t1 + (1-h1)(t1+t2) = avd access time for the given hierarcy of memeory.

so, 0.94*3 + 0.06(3ns + 20 + 31*5) = 13.5 ns

t2 = first word(20 ns) + 5* remaining words (2pow 5 -1) ; 2 pow 5 = no of words in block.
Answer:

Related questions

21 votes
21 votes
3 answers
1