Part 4
4 chapters
Parallelism and Throughput
Parallel algorithms and execution policies, thread pools, NUMA and affinity, and SIMD data parallelism.
Doc 14
Parallel Algorithms and Execution Policies
The standard execution policies, the parallel STL algorithms built on them, C++26 additions, and when parallel execution actually pays off.
Doc 15
Thread Pools and Work Scheduling
Sizing a thread pool correctly, work-stealing task queues, bounded queues and back-pressure, and the cgroup-aware sizing a pool needs to behave inside a container.
Doc 16
NUMA, Affinity, and Data Locality
CPU pinning and affinity, NUMA-aware allocation, the latency gap between local and remote memory, and how cpuset constraints interact with it.
Doc 17
SIMD and Data Parallelism
Vectorization fundamentals, what defeats autovectorization, the upcoming C++26 std::simd, and the data layout choices that make vectorization possible in the first place.