Title: CSE 351 23au / LS19 Memory & Caches IV

Q: If we access a cache block for the first time, what kind of miss are we guaranteed to have?
A: compulsory (cold) miss

Q: True or false: Compulsory (cold) misses are avoidable.
A: False, they'll always occur on the first access to a cache

Q: If more references map to the same set in our cache than our associativity allow to coexist, what kind of miss will we have when we revisit an earlier reference?
A: conflict miss

Q: If the toal amount of data we are using exceeds the size of the cache, what kind of miss will we have when we try to access the evicted blocks?
A: capacity miss

Q: When the requested data is already in the cache, the policy that governs the cache behavior is known as a ___
A: write hit

Q: The write hit policy that modifies the data in the cache and the level below is known as ___
A: write through

Q: True or false: During a write hit, the write back policy modifies the data in the cache and the level below at the same time
A: False, the write only modifies the data in the current level of the cache and updates the dirty bit to 1. The level below will be updated with the written data once that block of data is evicted from its current level

Q: When does the write back policy update the modified data in the level below?
A: When the modified data is evicted from its current level

Q: What extra management bit do we add when the write hit policy is a write back?
A: dirty bit

Q: When the dirty bit is ___, the data has been modified. Otherwise it is ___
A: 1, 0

Q: When the requested data is not in the cache, the policy that governs the cache behavior is known as a ___
A: write miss

Q: The write miss policy that first loads the data into the cache before executing a write hit is known as ___
A: write allocate

Q: True or false: During a write miss, the no write allocate policy goes directly to the level below, modifies it, AND brings it back into the cache
A: False, the no write allocate policy directly writes to the level below