Please show your answers and explanation. Thank you! 15. What is a primary justi
ID: 3909454 • Letter: P
Question
Please show your answers and explanation. Thank you!
15. What is a primary justification for enforcing alignment of data in memory? (a) improving cache utilization (b) reducing memory fragmentation (c) improving memory (DRAM) utilization (d) simplifying compilation 16. What is a primary justification for making use of the lower bits of an address to compute the cache index? (a) improving cache utilization (b) to better leverage good temporal locality (c) to better leverage good spatial locality (d) to reduce the likelihood of cache collisions 17. A relatively large miss penalty at a given level of caching is good justification for which of the following? (a) implementing the write-around policy (b) increasing associativity to improve hit rate (c) using a simple cache design to optimize the hit time (d) implementing the write-through policy 18. Given a fixed cache (data) size, what strategy best deals with the problem of cache thrashing? (a) decreasing the block size (b) increasing the block size (c) decreasing associativity (d increasing associativityExplanation / Answer
Solution 15: (c) improving memory (DRAM) utilization.
Alignment of data is important in memory because improving the memory utilization.
Solution 16: (b) to better leverage good temporal locality.
The use of lower bit an address to compute the cache index i.e. temporal locality.
Solution 17:(a) implementing the write -around policy.
Write around policy create a cache miss.
Solution 18: (b) increasing the block size
Because larger block size increase the miss penalty.if miss again and again then thrashing occur.