Red Hat Has Been Working On "stalld" As A Thread Stall Detector + Booster

Written by Michael Larabel in Red Hat on 31 August 2020 at 10:11 AM EDT. 13 Comments
Red Hat engineers in recent weeks began working on a new project called "starved" though recently renamed to "stalld". The stalld service is for serving as a Linux thread stall detector.

The stalld daemon monitors Linux threads and detects when threads are stalled as a result of CPU starvation. The stalled thread is in turn boosted by stalld by setting the SCHED_DEADLINE policy and then the original policy restored following the boost.

Stalld supports a configurable value when trying to find threads that are ready but have not been granted CPU time for that defined period. Stalld also supports configuring an aggressive mode, configurable values for the time to set SCHED_DEADLINE on the thread, and various logging capabilities. There is an optional systemd service file for running this starvation monitoring service.

Stalld has just been under development in the past number of weeks but is already proving useful and is currently awaiting review for eventual introduction on Fedora. The code to Stalld is available from for those interested in this new starvation monitoring service for Linux systems.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via

Popular News This Week