Question: COD Section 5 . 3 shows the typical method to index a direct - mapped cache, specifically ( Block address ) modulo ( Number of
COD Section shows the typical method to index a directmapped cache, specifically Block address modulo Number of blocks in the cache Assuming a bit address and blocks in the cache, consider a different indexing function, specifically Block address: XOR Block address: Is it possible to use this to index a directmapped cache? If so explain why and discuss any changes that might need to be made to the cache. If it is not possible, explain why.
a
Calculate the total number of bits required to implement a KiB cache with twoword blocks.
b
Calculate the total number of bits required to implement a KiB cache with word blocks. How much bigger is this cache than the KiB cache described in Part aNotice that, by changing the block size, we doubled the amount of data without doubling the total size of the cache.
c
Explain why this KiB cache, despite its larger data size, might provide slower performance than the first cache.
d
Generate a series of read requests that have a lower miss rate on a KiB twoway set associative cache than on the cache described in Part a
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
