Tag
An article reports that enabling CPU affinity on a 24-core build machine unexpectedly slowed down builds, highlighting complexities in optimizing multi-core processing.
The article introduces Linux restartable sequences (rseq), a kernel feature that enables thread-safe data structures without locks or atomics, achieving dramatic performance improvements on many-core CPUs. It provides a tutorial and demonstrates up to 43x speedup on a 96-core AMD Threadripper.