• retagged by
4,163 views
1 1 vote

Assume the following performance characteristics on a cache read miss:

one clock cycle to send an address to main memory and four clock cycles to access a 32-bit word from main memory and transfer it to the processor and cache. What is the miss penalty if the cache line size is four words and a transfer is executed, with one clock cycle per word transfer?

What would be the answer if memory is not interleaved and word access is done sequentially from main memory?

1 Answer

Best answer
5 5 votes

As mentioned that memory is not interleaved, so we will not assume parallel access in memory banks, hence, there is only one memory module .

Total time taken for a sequential access in MM

=> one clock cycle is required to send an address to main memory

+ four clock cycles to access a $32$-bit word (a single word) from main memory

+ Time required to access remaining $3$ words ( one clock cycle per word transfer )

=> $1 + 4 + 3$

=> $8$ clock cycles are needed to transfer it to the processor and hence will be transferred to cache parallely .

• selected by
Position:
Show:

Related questions

20 20 votes
2 answers 2 answers
10.8k
10.8k views
Ram Sharma1 asked May 20, 2015
10,764 views
64 word cache and main memory is divided into 16 words block.The access time of cache is 10ns/word and for main memory is 50ns/word. The hit ratio for read operation is ....
3 3 votes
1 answers 1 answer
2.3k
2.3k views
Prasanna asked Jan 5, 2016
2,286 views
Consider an array of 4 elements and each element occupies 4-words. A 16 word cache is used and divided into a block of 8 words. If the following code is executed what is ...
75 75 votes
9 answers 9 answers
40.4k
40.4k views
Kathleen asked Sep 13, 2014
40,372 views
The access times of the main memory and the Cache memory, in a computer system, are $500$ n sec and $50$ nsec, respectively. It is estimated that $80\%$ of the main memor...