Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider a CPU with a memory system with the following parameters: Page size: 4 KB Cache capacity: 1 2 8 KB Cache set - associativity:
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 setassociativity to prevent synonyms. If the page size is doubled, what should be the new setassociativity ie how many ways are needed? Assume other parameters remain the same.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started