1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-30 00:00:11 +01:00
VILLASnode/packaging/live-iso/files/usr/local/bin/tune-realtime

19 lines
553 B
Bash
Executable file

#!/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