Profiles shipped in tuned-profiles-nfv subpackage. The content was provided by Jeremy Eder <jeder@redhat.com> and Clark Williams <williams@redhat.com>. Resolves: rhbz#1228803 Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
22 lines
506 B
Bash
Executable file
22 lines
506 B
Bash
Executable file
#!/bin/sh
|
|
|
|
. /usr/lib/tuned/functions
|
|
|
|
start() {
|
|
python /usr/libexec/tuned/defirqaffinity.py "remove" "$TUNED_isolated_cores_expanded" &&
|
|
tuna -c "$TUNED_isolated_cores_expanded" -i
|
|
return "$?"
|
|
}
|
|
|
|
stop() {
|
|
tuna -c "$TUNED_isolated_cores_expanded" -I &&
|
|
python /usr/libexec/tuned/defirqaffinity.py "add" "$TUNED_isolated_cores_expanded"
|
|
return "$?"
|
|
}
|
|
|
|
verify() {
|
|
python /usr/libexec/tuned/defirqaffinity.py "verify" "$TUNED_isolated_cores_expanded"
|
|
return "$?"
|
|
}
|
|
|
|
process $@
|