Module affinity

Module affinity 

Source
Expand description

CPU affinity scenario implementations.

Functionsยง

custom_cgroup_affinity_change
Two cgroups with worker affinities randomized four times during the run. Each randomization assigns half the available CPUs to each worker.
custom_cgroup_cpuset_multicpu_pin
Two cgroups with disjoint cpusets, workers pinned to 2 CPUs within each partition. Checks pinning interacts correctly with cpuset constraints. Uses a relaxed 75% spread threshold.
custom_cgroup_multicpu_pin
Two cgroups with all workers pinned to the same 2-CPU subset. Uses a relaxed 75% spread threshold since concentrated pinning increases work-unit spread under EEVDF.