Compulsory miss:-This type of miss occurs when the first time referenced block is miss in cache memory.
Conflict miss:-This type of miss occurs when a particular block is referenced second or more times and also the reference turns out to be miss in cache memory.
Capacity misses:-This type of miss occurs when the cache is full.
When we increase the number of sets means we are reducing the number of lines in a single set.due to this associativity decreases.so,as a result conflict misses will increase because now there will be less chance that second time referenced block will be hit as there are less lines in a set.other two misses will be unaffected.
When we increase the number of ways then we are increasing the number of lines in a set.due to this number of sets decreases and associativity increases.Due to this,conflict misses will reduce because now,there are more lines in a set so,it us most likely that 2nd time or more referenced block will get a line.other two misses will remain unaffected.
When we increase the number of bytes per line then lines size will increase as result number of compulsory misses will reduce because they happen solely because of low line size.other two misses will remain unaffected.
Cache modification | Compulsory misses | Conflict misses | Capacity misses |
Increasing # of sets | No effect | Increases | No effect |
Increasing # of ways |
No effect | Decreases | No effect |
Increasing # of bytes/line | Decreases | No effect | No effect |
1. 13 points] Three C's of Cache Misses the categories to increase, decrease, or whether to recei...