Skip to content

Commit

Permalink
M ##6324: CLEANUP_MEMORY_ON_STOP=no (#2996)
Browse files Browse the repository at this point in the history
Change default behaviour to avoid running sysctlvm.drop_caches=3 vm.compactmemory=1

This is especially annoying when multiple VMs are rescheduled (onehost flush). Instead of global toggle for memory cleanup per VM we need per host action.
  • Loading branch information
xorel committed Mar 26, 2024
1 parent 030b577 commit ba98de2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vmm_mad/remotes/kvm/kvmrc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export VIRSH_TIMEOUT=60
#CLEANUP_MEMORY_ON_START=yes

# Compact memory after VM stops
CLEANUP_MEMORY_ON_STOP=yes
CLEANUP_MEMORY_ON_STOP=no

# Uncomment this line to force VM's without ACPI enabled to be destroyed
# on shutdown
Expand Down

0 comments on commit ba98de2

Please sign in to comment.