Prefetching: Hiding Latency of Compulsory Misses

Compulsory (cold) misses are unavoidable on first data access, but their impact can be minimized through prefetching. Both hardware prefetchers (detecting patterns like strides) and software prefetching (explicit instructions) load data into the cache proactively, hiding memory latency by making data available before the CPU explicitly requests it.

Sources

Open the full topic