1
0
Fork 0

Merge pull request #767 from zacikpa/realtime-pstate

realtime: Disable appropriate P-State drivers
This commit is contained in:
Jaroslav Škarvada 2025-07-24 01:19:38 +02:00 committed by GitHub
commit 4be7c5e9d2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,6 +11,9 @@ include = network-latency
# User is responsible for updating variables.conf with variable content such as isolated_cores=X-Y
include = /etc/tuned/realtime-variables.conf
# Disable appropriate P-State drivers (intel_pstate or amd_pstate)
disable_pstate = ${f:cpuinfo_check:GenuineIntel:intel_pstate=disable:AuthenticAMD:amd_pstate=disable:}
isolated_cores_assert_check = \\${isolated_cores}
# Make sure isolated_cores is defined before any of the variables that
# use it (such as assert1) are defined, so that child profiles can set
@ -48,7 +51,7 @@ kernel.sched_rt_runtime_us = -1
/sys/devices/system/machinecheck/machinecheck*/ignore_ce = 1
[bootloader]
cmdline_realtime=+isolcpus=${managed_irq}${isolated_cores} intel_pstate=disable nosoftlockup
cmdline_realtime=+isolcpus=${managed_irq}${isolated_cores} ${disable_pstate} nosoftlockup
[irqbalance]
banned_cpus=${isolated_cores}