realtime: Use the irqbalance plugin
Use the new irqbalance plugin instead of a script to set up irqbalance. I'm placing the 'irqbalance' instance before the 'script' instance so that it's executed at the same time as the script, however I don't think the 'irqbalance' instance needs to be ordered in any specific way and could be placed almost anywhere. Resolves: rhbz#1784645 Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
This commit is contained in:
parent
462df2610c
commit
0509247f8b
2 changed files with 3 additions and 2 deletions
|
|
@ -3,12 +3,10 @@
|
|||
. /usr/lib/tuned/functions
|
||||
|
||||
start() {
|
||||
irqbalance_banned_cpus_setup "$TUNED_isolated_cpumask"
|
||||
return 0
|
||||
}
|
||||
|
||||
stop() {
|
||||
irqbalance_banned_cpus_clear
|
||||
return 0
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -50,6 +50,9 @@ kernel.timer_migration = 0
|
|||
[bootloader]
|
||||
cmdline_realtime=+isolcpus=${managed_irq}${isolated_cores} intel_pstate=disable nosoftlockup tsc=nowatchdog
|
||||
|
||||
[irqbalance]
|
||||
banned_cpus=${isolated_cores}
|
||||
|
||||
[script]
|
||||
script = ${i:PROFILE_DIR}/script.sh
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue