Module basic

Module basic 

Source
Expand description

Basic and mixed-workload scenario implementations.

Functions§

custom_cgroup_pipe_io
Two cgroups each with paired PipeIo workers and SpinWait workers. Exercises cross-CPU wake placement from pipe I/O under CPU load.
custom_crash_light
Light workload for scheduler-DEATH tests: one cgroup of 4 YieldHeavy workers held for the scenario duration.
custom_host_cgroup_contention
Two managed cgroups with host-level contention from workers in the test runner’s own cgroup (SpawnPlacement::RunnerCgroup, typically the root cgroup). Spawns total_cpus workers outside any managed cgroup alongside two default cgroups.
custom_sched_mixed
Two cgroups each running Normal, Batch, Idle, and FIFO(1) workers concurrently. FIFO workers use bursty workloads to avoid monopolizing CPUs.