Assume a computer has L1 and L2 caches. The cache blocks consist of 8 words. Ass
ID: 3682044 • Letter: A
Question
Assume a computer has L1 and L2 caches. The cache blocks consist of 8 words. Assume that the hit rate is the same for both caches and that it is equal to 0.95 for instructions and 0.90 for data. Assume also that the times needed to access an 8-word block in these caches are C1 = 1 cycle and C2 = 10 cycles.
What is the average access time experienced by the processor if the main memory uses interleaving? The memory is built with relatively slow DRAM chips that allow the first word to be accessed in 8 cycles, but subsequent words of the block are accessed in 4 clock cycles per word. Also, one clock cycle is needed to send one word to the cache.
What is the average access time if the main memory is not interleaved?
What is the improvement obtained with interleaving?
Explanation / Answer
For single memory Module time neede to load desired block
M = 1+ 8 + (7*4) + 1 = 38
When interleaved
M = 8 + 4 + 4 +1 = 17
https://books.google.co.in/books?id=-NA3AwAAQBAJ&pg=PA364&lpg=PA364&dq=Assume+a+computer+has+L1+and+L2+caches.+The+cache+blocks+consist+of+8+words&source=bl&ots=kYNCBQsYZL&sig=3TxqyDDrjI8ANtzexiwRtej-03w&hl=en&sa=X&ved=0ahUKEwjTw4X8weDLAhXHCY4KHRj8DEUQ6AEIJTAC#v=onepage&q=Section%205.6.1&f=false
http://postimg.org/image/irx77m11z/
look at 5.18
In this link you can find : https://notendur.hi.is//~daj2/Tolvutaekni/k5.pdf
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.