Memory Hierarchy Q.54

0. For inclusion to hold between two cache level L1 and L2 in a multilevel cache hierarchy, which of the following are necessary?
1. L1 must be a write-through cache
2. 2 must be a write-through cache
3. The associativity of L2 must be greater that of L1
4. The L2 cahce must be at least as large as the L1 cache

  • Option : A
  • Explanation : Number of sets in cache = v. So, main memory block j will be mapped to set (j mod v), which will be any one of the cache lines from (j mod v) * k to (j mod v) * k + (k – 1).
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *