Cgroup v2 Throttling Lab — why a CPU limit makes you slow while average usage looks fine

local processing
Edit cpu.max, cpu.weight, memory.max, memory.high and pids.max in a deterministic cgroup v2 model and watch CPU throttling, reclaim, OOM kills and fork failures happen, with latency and PSI with and without the CPU limit. A model of the mechanism, not real-machine performance.