Install the kernel-rt packages
You can install the real-time kernel packages on Red Hat Enterprise Linux by using dnf, then configure kernel-rt as the default boot kernel and verify the installation with post-installation checks.
On 64-bit ARM (aarch64) systems, the RHEL for Real Time kernel (kernel-rt) is available as a Technology Preview. Technology Preview features are not supported with Red Hat production service level agreements (SLAs) and might not be functionally complete. Red Hat does not recommend using them in production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process.
Install the real-time kernel by using dnf Copy linkLink copied!
To obtain the real-time kernel, you can install it by using the dnf utility, or you can download it along with other RHEL components from the Download Red Hat Enterprise Linux portal.
Before you begin Copy linkLink copied!
- The latest version of RHEL 10 is installed on an AMD64 or Intel 64 system. The real-time kernel runs on AMD64 and Intel 64 (also known as x86_64) server platforms that are certified to run Red Hat Enterprise Linux.
- Your machine is registered and RHEL is attached to a RHEL for Real Time subscription.
- Ensure that the base platform is properly tuned and the system firmware parameters are adjusted. Failure to perform these tasks before installing the real-time kernel might prevent consistent performance from a RHEL for Real Time deployment.
Procedure Copy linkLink copied!
Results Copy linkLink copied!
- Check the installation location and verify that the components have been installed successfully.
# rpm -ql realtime-setup/etc/security/limits.d/realtime.conf /etc/sysconfig/realtime-setup /etc/udev/rules.d/99-rhel-rt.rules /usr/bin/realtime-setup /usr/bin/rt-setup-kdump /usr/bin/slub_cpu_partial_off /usr/lib/.build-id /usr/lib/.build-id/a4 /usr/lib/.build-id/a4/da77908aa4c6f048939f3267f1c552c456d117 /usr/lib/systemd/system/rt-entsk.service /usr/lib/systemd/system/rt-setup.service /usr/sbin/kernel-is-rt /usr/sbin/rt-entsk
Install RHEL for Real Time from a local repository Copy linkLink copied!
If your system does not have network access to Red Hat Content Delivery Network (CDN), you can install the RHEL for Real Time kernel from a local repository by using the RHEL Binary DVD ISO image as the package source. This method is suitable for disconnected or bandwidth-constrained environments.
Before you begin Copy linkLink copied!
- The latest version of RHEL 10 is installed on a 64-bit x86 system.
- You have downloaded the RHEL 10 Binary DVD ISO image that contains the
kernel-rtpackages from the Download Red Hat Enterprise Linux portal. - The ISO image is accessible on the local file system or removable media.
About this task Copy linkLink copied!
Booting from a RHEL for Real Time ISO performs a full operating system installation. To add the real-time kernel to an existing RHEL system without reinstalling, use the local repository method described in this procedure.
Procedure Copy linkLink copied!
Results Copy linkLink copied!
- After reboot, verify that the real-time kernel is running:
# uname -rThe output contains
rtin the kernel version string, for example6.12.0-55.9.1.el10_0.x86_64+rt. - Verify that the RT packages are installed:
# rpm -qa | grep kernel-rt
Post-installation checklist Copy linkLink copied!
After you install the real-time kernel, perform system tuning with the provided tuned profiles. Configure kdump for crash dump information and verify that the Real Time kernel is the default kernel.
After installing the real-time kernel, ensure the following:
- To achieve optimal low-latency determinism, perform RHEL for Real Time specific system tuning by using the provided tuned profiles. Use these profiles as the final tuning or as the baseline for your specific tuning requirements.
- Review the module compatibility information for the real-time kernel and the standard kernel.
- To enable
kdump, configure RHEL for Real Time to provide crash dump information by enablingkexec/kdump. - Verify that the Real Time kernel is the default kernel.
Module compatibility of the real-time kernel and the standard kernel Copy linkLink copied!
Kernel modules are inherently specific to the kernel they are built for. RHEL for Real Time and RHEL share a common code base. However, RHEL for Real Time has the real-time features and capabilities enabled. As a consequence, modules must be rebuilt to be used with RHEL for Real Time.
If you must use a third-party module, recompile it with the RHEL for Real Time header files. These files are available in the RHEL for Real Time development and test packages.
The following third-party drivers for standard Red Hat Enterprise Linux 10 do not currently have a RHEL for Real Time build:
- EMC Powerpath
- NVIDIA graphics
- Advanced storage adapter configuration utilities from Qlogic
User-space tools built for Red Hat Enterprise Linux 10 for the stock kernel are fully compatible with RHEL for Real Time. Some applications might not fully benefit from real-time optimizations due to their design. These applications might behave differently than expected.
Additional resources Copy linkLink copied!
Display the default boot kernel Copy linkLink copied!
You can display the kernel configured to boot by default.
Procedure Copy linkLink copied!
# grubby --default-kernel
/boot/vmlinuz-6.12.0-89.el10_0.x86_64+rt
The +rt in the output of the command shows that the default kernel is a real time kernel.
Display the running kernel Copy linkLink copied!
You can display the currently running kernel to verify which kernel version is active on your system.
Procedure Copy linkLink copied!
# uname -a
Linux rt-server.example.com 6.12.0-124.15.1.el10_1.x86_64 …
To learn what the kernel version string means, see Understanding RHEL kernel version numbers.
When the system receives a minor update, for example from 10.1 to 10.2, the default kernel might change. The system might revert to the standard kernel instead of the Real Time kernel.
Set kernel-rt as the default boot kernel Copy linkLink copied!
On a newly installed system, the stock RHEL kernel is set as the default boot kernel. You can change this to set kernel-rt as the default kernel and make it persistent across system updates. This is a one-time procedure that you can change or revert if necessary.
Procedure Copy linkLink copied!
Results Copy linkLink copied!
- To verify
kernel-rtis the default kernel, enter the following command:# grubby --default-kernel/boot/vmlinuz-6.12.0-55.14.1.el10_0.x86_64+rt