I ran into an issue on my laptop where starting a KVM vm after using the machine for a while would cause the VM to consume ram faster than the kernel can add chunks to the swap space. My fix was to change the swapfc_min_count to 1 and increase the chunk size to 1024M. I believe I can possibly get away with a smaller chunk size but it has remained very stable. I only have 8 GB of RAM so this may not be necessary for larger ram systems but it should be considered for lower ram devices.
Hello,
I ran into an issue on my laptop where starting a KVM vm after using the machine for a while would cause the VM to consume ram faster than the kernel can add chunks to the swap space. My fix was to change the swapfc_min_count to 1 and increase the chunk size to 1024M. I believe I can possibly get away with a smaller chunk size but it has remained very stable. I only have 8 GB of RAM so this may not be necessary for larger ram systems but it should be considered for lower ram devices.