Question: Consider a computer architecture that has a dynamically changing caching policy, such that it changes either the block size or the associativity of the caching
Consider a computer architecture that has a dynamically changing caching policy, such that it changes
either the block size or the associativity of the caching policy in the middle of execution. In some cases,
the change may require the computer to invalidate existing blocks in the cache because the blocks stored
under the old caching policy are either misplaced or incomplete according to the new policy. For each
case below, indicate whether the change may lead to blocks in the cache that are no longer valid, or if all
blocks that were in the cache before the change remain valid after the change.
a Directmapped: block size doubles from words block to words block
b Directmapped: block size halves from words block to words block
c Fully assoc: block size doubles from words block to words block
d Fully assoc: block size halves from words block to words block
e Set assoc, goes from way to way associative
f Set assoc, goes from way to way associative
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
