Question: Problem 3 . ( 1 2 points ) VIPT Cache Consider a CPU with a memory system with the following parameters: Page size: 4 KB
Problem points VIPT Cache
Consider a CPU with a memory system with the following parameters: Page size: KB
Cache capacity: KB
Cache setassociativity:
Cache line size: bytes
A points How many copies of the same data can exist in the cache due to the synonym problem?
B points Is it possible to prevent synonyms through OS without changing the parameters of the memory system? If so how? If not, why cant it be done?
C points In order to prevent synonyms, consider changing the cache capacity. Assuming other design parameters remain the same, what should be the new cache size in KB
D points Instead of changing the capacity, consider changing the page size and set associativity to prevent synonyms. If the page size is doubled, what should be the new set associativity ie how many ways are needed? Assume other parameters remain the same.
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
