David Chisnall shares that adding CPU affinity constraints on a 24-core build machine paradoxically caused builds to take longer, likely due to scheduling overhead and reduced parallelism. The post highlights a practical performance tradeoff often encountered in CI/CD infrastructure tuning.
Background
CPU affinity is a technique used to bind processes to specific CPU cores to reduce cache thrashing and context switching in high-performance computing and CI environments. However, improper affinity settings on multi-core machines can inadvertently bottleneck parallel workloads.
- Source
- Lobsters
- Published
- Aug 25, 2026 at 09:29 PM
- Score
- 5.0 / 10