Measures the worst-case wakeup latency of real-time threads with cyclictest on isolated CPU cores, while stress-ng loads the other cores. Optional cache partitioning and C-state settings show the effect of real-time tuning.
Optionally partition the L3 cache with Intel® Cache Allocation Technology (cat_enabled) and disable deep C-states on the real-time cores (cstate_disable_enabled). The previous state is saved.
Start stress-ng on the stress cores.
Run cyclictest on the real-time cores for cyclic_duration.
Report the latencies and restore the saved state, also when the test is interrupted.
The optimizations need the modules of scripts/system-setup-rt.sh.