Is it safe to have more VMs than cores when using KVM?

yatesco

Renowned Member
Sep 25, 2009
214
5
83
Hi all,

Googling turned up yes and no ;).

I have a dual Xeon server which, with hyper threading gives 16 cores. I have plenty of CPU "power" and memory to do what I want, but I prefer to have lots of little VMs rather than fewer monolithic VMs.

So, how many VMs should I aim to put onto my box? 15, 31, 100? :)
 
Hi all,

Googling turned up yes and no ;).

I have a dual Xeon server which, with hyper threading gives 16 cores. I have plenty of CPU "power" and memory to do what I want, but I prefer to have lots of little VMs rather than fewer monolithic VMs.

So, how many VMs should I aim to put onto my box? 15, 31, 100? :)
Hi,
it's save to use more vm's than cores - thats one of the most advantage of virtualisation.
I have on a server with 4 cores app. 10 VMs.
I think there is no rule for a value between cores and VMs - it's depends on your usage (CPU, Memory and IO). You can use a lot of small VMs like dhcp-server, dns-server... If you use terminal-server you reach the limit faster...

Udo