PLEASE DO NOT COPY AND PASTE OTHER ANSWERS FROM OTHER SITES. Computer Architecture Assume the following information is gathered about a system: - 95% of all main memory accesses are found in the cache - 25% of references to the cache are writes - Each cache block is two words, and the whole block is read on any miss. - At any time, 30% of the blocks in the cache have been modified - The cache uses write allocate on a write miss - The bus reads or writes a single word at a time (the memory system can not read or write two words at once) - Write-back is used - Each cache hit takes 1 clock cycle - On average, the miss penalty is 52 clock cycles Question: Find the average number of main memory accesses per CPU reference to the cache. To find the average (weighted average), you need to find the number of accesses to memory on cache hits and cache misses and whether the block in cache has been modified (dirty). Therefore, there are 8 combinations as shown in the table below. I have filled out some (not sure if it is right). Please figure out the other rows. (See attached image)
PLEASE DO NOT COPY AND PASTE OTHER ANSWERS FROM OTHER SITES.
Computer Architecture
Assume the following information is gathered about a system:
- 95% of all main memory accesses are found in the cache
- 25% of references to the cache are writes
- Each cache block is two words, and the whole block is read on any miss.
- At any time, 30% of the blocks in the cache have been modified
- The cache uses write allocate on a write miss
- The bus reads or writes a single word at a time (the memory system can not read or write two words at once)
- Write-back is used
- Each cache hit takes 1 clock cycle
- On average, the miss penalty is 52 clock cycles
Question: Find the average number of main memory accesses per CPU reference to the cache. To find the average (weighted average), you need to find the number of accesses to memory on cache hits and cache misses and whether the block in cache has been modified (dirty). Therefore, there are 8 combinations as shown in the table below. I have filled out some (not sure if it is right). Please figure out the other rows. (See attached image)
Step by step
Solved in 3 steps