From a478b58f974067339d15e774700f70dc0f3cf230 Mon Sep 17 00:00:00 2001 From: Kroese Date: Mon, 5 Feb 2024 12:09:12 +0100 Subject: [PATCH] feat: Set KVM tick policy (#620) --- src/proc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/proc.sh b/src/proc.sh index 0a9fe2c..e4c0d90 100644 --- a/src/proc.sh +++ b/src/proc.sh @@ -38,8 +38,8 @@ fi if [[ "$KVM" != [Nn]* ]]; then - KVM_OPTS=",accel=kvm -enable-kvm" CPU_FEATURES="kvm=on,l3-cache=on" + KVM_OPTS=",accel=kvm -enable-kvm -global kvm-pit.lost_tick_policy=discard" if ! grep -qE '^flags.* (sse4_2)' /proc/cpuinfo; then info "Your CPU does not have the SSE4 instruction set that Virtual DSM requires, it will be emulated..."