Algorithms

CPU cache miss

When the processor looks for data in the cache and it isn't there, so it has to bring it from RAM, which is slower. The percentage of times it is there is called the hit rate.

Example

If 950 of 1,000 reads are in the cache, there were 50 misses and the hit rate is 95%.

Test yourself: CPU cache miss

Memory and cache

If 180 of 200 reads are found in the cache, the hit rate is ___%.

Lessons that use it

More algorithms terms

All terms →

Arki, the beaver mascot

Your next interview starts with 5 minutes today.

Free on iOS and Android. Start from zero, no account needed.