in CO and Architecture
1,029 views
0 votes
0 votes
For inclusion to hold between two cache levels L1 and L2 in a multi-level cache hierarchy, which of the following are necessary?

The associativity of L2 must be greater than that of L1 - this is false

for principle of inclusion to hold all the caches must have the same associativity ?

Also what is principle of exclusion in simple words
in CO and Architecture
by
1.0k views

4 Comments

Inclusion:Whatever be the blocks in the lower level that must be the subset of block in higher level,keep in mind that data need not be the same.
0
0
@junaid

Okay :)

but what about associativity .....i wanted to know how the associativity should be ....and if associativity doesnt matter then why so ?
0
0
yes it is necessary write through because in inclusion at any given time the L1 cache should be subset of L2 cache and this is only possible in write through.

in write back this is not possible because only changes are done to higher cache when there is miss in cache
0
0

Please log in or register to answer this question.