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>
19 lines
194 B
Bash
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 $@
|