Cachethrashing
Cachethrashing is a performance phenomenon in which a program experiences a high rate of cache misses because the data being accessed cannot remain in the cache, constantly being evicted to make room for new data. The term is often used to describe situations where the cache is unable to retain useful working data, leading to repeated fetches from lower levels of memory.
The underlying cause is typically a working set that does not fit in the cache or data
Thashing can be exacerbated by multi-core or multi-threaded execution, especially when threads contend for shared caches
Mitigation strategies focus on improving data locality and reducing contention: applying loop blocking or tiling to