Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem 3 . ( 1 2 points ) VIPT Cache Consider a CPU with a memory system with the following parameters: Page size: 4 KB

Problem 3.(12 points) VIPT Cache
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 set- associativity to prevent synonyms. If the page size is doubled, what should be the new set- associativity (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

Step: 3

blur-text-image

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

Excel As Your Database

Authors: Paul Cornell

1st Edition

1590597516, 978-1590597514

More Books

Students also viewed these Databases questions

Question

define task and social cohesion,

Answered: 1 week ago