Hi,
thanks, merged in
https://github.com/redhat-performance/tuned/commit/efcb477299dd4720f0012c...
Jaroslav
----- Original Message -----
>
> 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(a)redhat.com>
>
>
> diff --git a/profiles/realtime-virtual-guest/script.sh
> b/profiles/realtime-virtual-guest/script.sh
> new file mode 100644
> index 0000000..0712a4d
> --- /dev/null
> +++ b/profiles/realtime-virtual-guest/script.sh
> @@ -0,0 +1,20 @@
> +#!/bin/sh
> +
> +. /usr/lib/tuned/functions
> +
> +start() {
> + systemctl start rt-entsk
> + return "$?"
> +}
> +
> +stop() {
> + systemctl stop rt-entsk
> + return "$?"
> +}
> +
> +verify() {
> + return "$?"
> +}
> +
> +process $@
> +
> diff --git a/profiles/realtime-virtual-host/script.sh
> b/profiles/realtime-virtual-host/script.sh
> index 32e962d..c7b1621 100755
> --- a/profiles/realtime-virtual-host/script.sh
> +++ b/profiles/realtime-virtual-host/script.sh
> @@ -98,6 +98,7 @@ start() {
> if [ -f $CACHE_VALUE_FILE ]; then
> echo `cat $CACHE_VALUE_FILE` > $KVM_LAPIC_FILE
> fi
> + systemctl start rt-entsk
>
> return 0
> }
> @@ -105,6 +106,7 @@ start() {
> stop() {
> [ "$1" = "full_rollback" ] &&
teardown_kvm_mod_low_latency
> enable_ksm
> + systemctl stop rt-entsk
> return "$?"
> }
>
>
>