There are general ideas common to all VMs.
- https://www.linux-kvm.org/page/Tuning_KVM
- https://www.linux-kvm.org/page/Tuning_Kernel
- https://blog.jdpfu.com/2012/09/14/so...-in-virtualbox
- https://blog.jdpfu.com/2012/02/06/ru...nside-a-kvm-vm
The last two are mine.
There isn't a "correct", just better for the specific workload. it is mostly about sharing the system with all the running programs regardless of VM or not. Spreading i/o over multiple devices and using fast storage, fast networking, fast drivers with low overhead. Do not over allocate RAM or CPUs to any single part of the total system. Leave some CPU and RAM for the host too. More CPUs for a guest are seldom the right answer.
Bookmarks