Module stress

Module stress 

Source
Expand description

Stress and edge-case scenario implementations.

Functions§

custom_cgroup_cpuset_cross_llc_race
LLC-specific cpusets + tight flip loop. Uses Instant::now() deadline loop and LLC-aligned BTreeSets computed at runtime. Not Op/Step compatible.
custom_cgroup_cpuset_workload_variety
Uses spawn_diverse for workload variety + manual cpuset partitioning.
custom_cgroup_dsq_contention
Per-CPU pinned workers + custom gap assertion (max_gap_ms > 1500). Not expressible via Op/Step’s standard assert pipeline.
custom_cgroup_dynamic_workload_variety
spawn_diverse + dynamic cgroup add/remove mid-run.
custom_cgroup_exhaust_reuse
Exhaust cgroup slots with empty cpuset-pinned cgroups, remove half, then create replacement cgroups with workers to test slot reuse.
custom_cgroup_per_cpu
One cgroup per CPU, each with a single pinned worker. Stresses the scheduler with up to 64 cgroups on disjoint single-CPU cpusets.
custom_cgroup_workload_variety
Uses spawn_diverse helper for 5 different workload types across cgroups. Dynamic cgroup count and workload rotation logic is not Op/Step compatible.