Linux Proposed Cache Aware Scheduling Benchmarks Show Big Potential on AMD Turin
6 months ago
- #Linux
- #Performance
- #AMD EPYC
- Linux kernel engineers are working on cache-aware scheduling to improve performance on modern CPUs with multiple caches.
- Cache-aware scheduling aggregates tasks likely to share resources into the same cache domain for better cache locality.
- Recent patches show significant improvements, including a 44% time reduction in some benchmarks on Intel Xeon and AMD EPYC processors.
- Testing on AMD EPYC 9965 (192-core) shows promising results with cache-aware scheduling enabled.
- Cache-aware scheduling is not beneficial for all workloads, especially those with high thread counts exceeding physical cores in LLC.
- Default settings were used for initial testing, with potential for further tuning via sysfs.