#!/bin/bash ARCH=$(rpm -q --qf "%{arch}\n" glibc) RELEASE=$(rpm -q --qf "%{version}\n" fedora-release) # Install Planet CCRMA repository which includes RT_PREEMPT patched kernels rpm -Uvh http://ccrma.stanford.edu/planetccrma/mirror/fedora/linux/planetccrma/${RELEASE}/${ARCH}/planetccrma-repo-1.1-3.fc${RELEASE}.ccrma.noarch.rpm dnf -y --refresh install \ tuned-utils \ tuned-profiles-realtime kernel-rt \ kernel-rt-modules \ kernel-rt-modules-extra echo "isolated_cores=3-7" >> /etc/tuned/realtime-variables.conf tuned-adm profile realtime