Professional Documents
Culture Documents
1. L2 Misses & Hits are same in both exclusive and nine policies
This is seen because at any point of time the addresses present in L2 cache are the
same while executing using EXCLUSIVE and NINE policies but not in case of
INCLUSIVE.
In exclusive policy, when an L3 hit takes place, it is invalidated in L3 and gets added
to L2 cache.
In NINE policy, when an L3 hit takes place, it gets added to the L2 cache.
In exclusive policy, when an L3 miss takes place, it is added to the L2 Cache.
Whereas in NINE policy, it gets added to both L2 and L3 cache.
Since both the policies change the L2 cache in the same manner during L2 hits and
L3 misses, there is no difference in the number of hits and misses observed in the
L2 cache.
2. There is very less miss rate in L3 in exclusive policy when compared to other 2
policies.
In exclusive policy, at any point of time, we don’t have the same block present in
both L2 and L3 cache which saves a lot of space in L3 cache decreasing the miss
rate.
Inorder to generate the cold misses(compulsory), the count of unique address accesses is
calculated. To calculate the number of Capacity misses, the conflict misses is made 0 by
making L3 cache Fully Associative. Thus the number of Capacity becomes Total Number of
misses in FA L3 cache - Number of cold misses.