LIFO's Cache Affinity for Local Tasks

Worker threads prioritize local tasks using a Last-In, First-Out (LIFO) order, which is highly cache-friendly. This ensures recently created tasks, often processing recently-touched data, remain in fast CPU caches, promoting depth-first execution and minimizing cache misses.

Sources

Open the full topic