retagged by
649 views
2 votes
2 votes
Why increase in cache size doesnt affect conflict misses??

According to me when we will increase cache size number of blocks will increase and hence lesser no of conflicts will be there because less number of main memory blocks will contend for same cache line??

But its said that conflict miss is independent of cache size how?? This seems so confusing to me.
retagged by

1 Answer

1 votes
1 votes
Miss Type Description Hotel Analogy
Compulsory
or Cold
The first reference to a block of memory, starting with an empty cache. The hotel is empty and the first guest has not yet arrived.
Capacity The cache is not big enough to hold every block you want to use. The hotel has no vacancies.
Conflict Two blocks are mapped to the same location and there is not enough room to hold both. A particular floor of the hotel which a guest has to stay on has all rooms occupied.

these are the definitions, see conflict misses are there because same blocks are mapped for different main memory, that means one position is there which many main memory blocks will be fighting for , this will remain constant even though you increase the cache size , But if you increase the block size the number of blocks will decrease resulting in more main memory blocks competing for that position there by increasing the conflicts, if you still dont get it take a example

Related questions

0 votes
0 votes
0 answers
1
sushmita asked Dec 12, 2018
254 views
I am unable to understand the memory access time for hierarchical and simultaneous access using write back policy even after reading from go sources. Can someone plz expl...
0 votes
0 votes
0 answers
2
0 votes
0 votes
0 answers
4