The Gateway to Computer Science Excellence
+3 votes
235 views

Consider the following statements:
S1 : If capacity misses are most common then the designer should increase the cache associatively, in order to provide more flexibility when collision occurs.
S2 : To hold the inclusion, lower level cache will be write through.
Which of the statements are correct?

in CO and Architecture by Active (1.2k points) | 235 views

1 Answer

+2 votes

S1 : False

If capacity misses are most common then the designer should increase the cache size.

if conflict misses are most common then the designer should increase the cache associativity.

S2 : True 

When there are multiple levels of cache to hold inclusion(lower level data is the subset of higher level data) we should use Write through policy.

otherwise, inclusion property fails.

by Active (2.4k points)
+1
Why we can't use WRITE BACK policy in lower level cache ???
0
let us say there are two levels of cache L1 and L2

L1 is subset of L2  (inclusion property)

now if we change some data in L1 and if we use write back policy

then updated data will be present in L1  but that doesn't reflect in L2 (we update data in L2  and main memory when there is a need of replacement)

till then L1 is not subset of L2

which is a violation of inclusion property.
+1
Got it...Thanks

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,647 questions
56,475 answers
195,396 comments
100,379 users