Distinguish between cold miss, capacity miss, and conflict miss.
What will be an ideal response?
Cold miss is also known as compulsory miss. Compulsory miss occurs because the program is accessing a given memory location for the first time during execution and since the location is not in the cache; a miss is unavoidable.
Capacity miss occurs in the situation where CPU incurs a miss on memory location that used to be in the cache previously and the cache is full at the time of the miss so there is no choice except to evict some memory location to make room. It happens because cache is full to its capacity.
Conflict miss occurs in the situation where CPU incurs a miss on memory location that used to be in the cache previously and the cache is not full but the mapping of the cache forces certain location to be brought into the cache block which is currently occupied by some other memory location.