Cache misses
When the processor looks for data in cache and doesn't find it — forced to fetch from slower main RAM.
Reading from L1 cache costs 3–4 cycles, L2 around 10–20, but main RAM around 200. A high cache miss rate turns an algorithm that's theoretically fast into a practically slow one. Two identical sorting algorithms can have vastly different miss rates depending on data size.
Miss rate depends on the access pattern: sequential reads rarely miss (hardware prefetch fills the cache). Random accesses miss often. Cache design (associativity, size) also matters. Tools like perf on Linux or Instruments on macOS measure miss rates to identify bottlenecks.