Merge pull request #767 from zacikpa/realtime-pstate
realtime: Disable appropriate P-State drivers
This commit is contained in:
commit
4be7c5e9d2
1 changed files with 4 additions and 1 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Reference in a new issue