Answered step by step
Verified Expert Solution
Link Copied!

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: 4 KB
Cache capacity: 128 KB
Cache set-associativity: 4
Cache line size: 64 bytes
A.(3 points) How many copies of the same data can exist in the cache due to the synonym
problem?
B.(3 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.(3 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.(3 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 (i.e., how many ways are needed?) Assume other parameters remain the same.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database Systems

Authors: Sham Navathe,Ramez Elmasri

5th Edition

B01FGJTE0Q, 978-0805317558

More Books

Students also viewed these Databases questions

Question

What is job enlargement ?

Answered: 1 week ago

Question

what is the most common cause of preterm birth in twin pregnancies?

Answered: 1 week ago

Question

Which diagnostic test is most commonly used to confirm PROM?

Answered: 1 week ago

Question

What is the hallmark clinical feature of a molar pregnancy?

Answered: 1 week ago

Question

Is there a clear hierarchy of points in my outline?

Answered: 1 week ago