How To Install realtime-setup on Fedora 36
Introduction
In this tutorial we learn how to install realtime-setup
on Fedora 36.
What is realtime-setup
Configure details useful for low-latency environments. Installation of this package results in - creation of a realtime group - adds realtime limits configuration for PAM - adds udev specific rules for threaded irqs and /dev/rtc access - adds /usr/bin/slub_cpu_partial_off to turn off cpu_partials in SLUB - adds net-socket timestamp static key daemon (realtime-entsk) The slub_cpu_partial_off script is used to turn off the SLUB slab allocator’s use of cpu-partials, which has been known to create latency-spikes. The realtime-entsk program is a workaround for latency spikes caused when the network stack enables hardware timestamping and activates a static key. The realtime-entsk progam is activated by the systemd service included and merely enables the timestamp static key and pauses, effectively activating the static key and never exiting, so no deactivation/activation sequences will be seen. Neither the slub script or realtime-entsk are active by default.
We can use yum
or dnf
to install realtime-setup
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install realtime-setup.
Install realtime-setup on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install realtime-setup
using dnf
by running the following command:
sudo dnf -y install realtime-setup
Install realtime-setup on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install realtime-setup
using yum
by running the following command:
sudo yum -y install realtime-setup
How To Uninstall realtime-setup on Fedora 36
To uninstall only the realtime-setup
package we can use the following command:
sudo dnf remove realtime-setup
realtime-setup Package Contents on Fedora 36
/etc/security/limits.d/realtime.conf
/etc/sysconfig/realtime-setup
/etc/udev/rules.d/99-rhel-rt.rules
/usr/bin/realtime-setup
/usr/bin/slub_cpu_partial_off
/usr/lib/.build-id
/usr/lib/.build-id/25
/usr/lib/.build-id/25/d1984058ac57612e5c47ce80df062792f803f5
/usr/lib/systemd/system/realtime-entsk.service
/usr/lib/systemd/system/realtime-setup.service
/usr/sbin/kernel-is-rt
/usr/sbin/realtime-entsk
/usr/share/licenses/realtime-setup
/usr/share/licenses/realtime-setup/gpl-2.0.txt
References
Summary
In this tutorial we learn how to install realtime-setup
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).