Realtime profiles require to restrict irqbalance too. Apply them to
the realtime profile so that realtime-virtual-{host|guest} can benefit
from that too.
Signed-off-by: Peter Xu <peterx@redhat.com>
20 lines
262 B
Bash
Executable file
20 lines
262 B
Bash
Executable file
#!/bin/sh
|
|
|
|
. /usr/lib/tuned/functions
|
|
|
|
start() {
|
|
irqbalance_banned_cpus_setup "$TUNED_isolated_cpumask"
|
|
return 0
|
|
}
|
|
|
|
stop() {
|
|
irqbalance_banned_cpus_clear
|
|
return 0
|
|
}
|
|
|
|
verify() {
|
|
tuna -c "$TUNED_isolated_cores" -P
|
|
return "$?"
|
|
}
|
|
|
|
process $@
|