AlgoViz

Runnable work, priorities and CPU quotas

easy 7 min

A scheduler chooses among runnable threads on the CPUs they may use.

Where it shows up

The same pattern appears across everyday software.

  • The idle host with a throttled worker

    A service consumes its group budget early in each period, then waits until replenishment. Node-wide idle time hides this local shortage. Compare two deltas in cpu.stat at the workload boundary and examine runnable work during the same window. A high throttled-period fraction measures frequency, not the fraction of requests delayed.

  • Verifying the intervention

    Align concurrency and quota with the target. Check throttling alongside throughput and tail latency. If throttling stays flat during the stall, inspect effective CPU affinity, per-core demand and off-CPU waits.