retagged by
19,070 views
19 votes
19 votes

I want to clearly understand the difference between compulsory miss, conflict miss and capacity miss
what I understood is
compulsory miss: when a block of main memory is trying to occupy fresh empty line of cache, it is called compulsory miss
conflict miss: when still there are empty lines in the cache, block of main memory is conflicting with the already filled line of cache, ie., even when empty place is available, block is trying to occupy already filled line. its called conflict miss
capacity miss: miss occured when all lines of cache are filled.
conflict miss occurs only in direct mapped cache and set-associative cache. Because in associative mapping, no block of main memory tries to occupy already filled line.
is this correct?

retagged by

3 Answers

8 votes
8 votes

Compulsory miss is not when a block occupies a fresh line, it is when a fresh block that was never given access in Cache before appears.

Related questions

1.7k
views
1 answers
2 votes
Warlock lord asked Jan 12, 2018
1,724 views
Can someone tell me the text-book definition for conflict miss?
2.1k
views
1 answers
3 votes
Akriti sood asked Oct 31, 2016
2,051 views
Consider a system with CPI of 1.0 on a 5 GHz machine with a 2% miss rate and memory access time of 100ns. To reduce miss penalty designers decided to ... overall main memory miss rate to 0.5%, How many clock cycles miss penalty reduced?
464
views
0 answers
0 votes
bts1jimin asked Jan 17, 2019
464 views
here it is given byte addressable. So these locations refer to words or byte location. What are set, block fields here : number of words or number of bytes for these location.
634
views
1 answers
1 votes
Sumit1311 asked Jan 21, 2016
634 views
Will conflict misses increase if k-way set associative cache is used and we increase the cache capacity?