How To Install stalld on Fedora 34

stalld is Daemon that finds starving tasks and gives them a temporary boost

Introduction

In this tutorial we learn how to install stalld on Fedora 34.

What is stalld

The stalld program monitors the set of system threads, looking for threads that are ready-to-run but have not been given processor time for some threshold period. When a starving thread is found, it is given a temporary boost using the SCHED_DEADLINE policy. The default is to allow 10 microseconds of runtime for 1 second of clock time.

We can use yum or dnf to install stalld on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install stalld.

Install stalld on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install stalld using dnf by running the following command:

sudo dnf -y install stalld

Install stalld on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install stalld using yum by running the following command:

sudo yum -y install stalld

How To Uninstall stalld on Fedora 34

To uninstall only the stalld package we can use the following command:

sudo dnf remove stalld

stalld Package Contents on Fedora 34

/etc/sysconfig/stalld
/usr/bin/stalld
/usr/bin/throttlectl
/usr/lib/.build-id
/usr/lib/.build-id/06
/usr/lib/.build-id/06/7dd7289760658fe865a2a5f8ef1558c3d80486
/usr/lib/systemd/system/stalld.service
/usr/share/doc/README.md
/usr/share/licenses/stalld
/usr/share/licenses/stalld/gpl-2.0.txt
/usr/share/man/man8/stalld.8.gz
/etc/sysconfig/stalld
/usr/bin/stalld
/usr/bin/throttlectl
/usr/lib/.build-id
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/6b64b08d6248a53ac9a255e0b225e54b231306
/usr/lib/systemd/system/stalld.service
/usr/share/doc/README.md
/usr/share/licenses/stalld
/usr/share/licenses/stalld/gpl-2.0.txt
/usr/share/man/man8/stalld.8.gz

References

Summary

In this tutorial we learn how to install stalld on Fedora 34 using yum and dnf.