1
0
Fork 0
tuned/profiles/realtime/script.sh
Peter Xu 7e93b6948f realtime: Apply irqbalance tunes too in realtime profiles
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>
2019-07-10 13:09:03 +08:00

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 $@