1
0
Fork 0
tuned/profiles/realtime-virtual-guest/script.sh
Marcelo Tosatti efcb477299 start/stop rt-entsk daemon on initialization/shutdown
The rt-entsk application, part of newer rt-setup packages,
worksaround a latency issue with static key
IPI's. What it does it:

/*
 * Open a socket, and enable timestamping on it.
 *
 * This is to avoid Chrony from changing timestamping
 * user count from 0->1 and vice-versa, causing
 * static key enable/disable IPIs.
 *
 */

Start/stop the systemctl service from the realtime-virtual-host
and realtime-virtual-guest profiles.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
2018-08-31 13:28:20 +02:00

19 lines
194 B
Bash

#!/bin/sh
. /usr/lib/tuned/functions
start() {
systemctl start rt-entsk
return "$?"
}
stop() {
systemctl stop rt-entsk
return "$?"
}
verify() {
return "$?"
}
process $@