Dear All,
I have a Quad Core CPU and wish to run around 6 vm's, I would like to assign one core per VM (so obviously some of the vm's will share a core). Will ESXi automatically load balance accross the cores or does this need to be configured manually?
Thanks in advance.
I would suggest that you do not assign a core directly to the VMs, use the resource Allocation tab via your VI Client to assign CPU resources to your VMs
normally if you specify affinities, you must provide at least as many processor affinities as the number of virtual CPUs in the virtual machine.
If you found this information useful, please consider awarding points for "Correct" or "Helpful". Thanks!
Trust VMware products...you paid for them...they will take care of it...... ![]()
Regards
Anil
Save the planet, Go Green
if you found my answer to be useful, feel free to mark it as Helpful or Correct.
I will add my voice to the chorus - ESX/ESXi does an excellent job of balancing the load across cpus/cores - there is no need to set CPU affinity and forcing a VM to run on a single core -
If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful
David nows its musical.. :P
Regards
Anil
Save the planet, Go Green
if you found my answer to be useful, feel free to mark it as Helpful or Correct.
do not manually configure CPU affinity, leave ESX to do its own scheduling, you will get better performance.
If you found this or any other answer useful please consider the use of the Helpful or correct buttons to award points
Tom Howarth VCP / vExpert
VMware Communities User Moderator
Blog: www.planetvm.net
Contributing author for the upcoming book "VMware Virtual Infrastructure Security: Securing ESX and the Virtual Environment”.
I also have a question about this.
I'm running two VM's on ESXi. One is much more important than the other. If I reserve 3GHz for it, that ensures it will always have 3GHz. But will the other server be able to use those cycles if this one is not?
Otherwise I think I'd rather tell the less important server that it can use only two cores, but the important one can use all of them.
Thanks
to answer your question yes the other vm would be able to use the other vms reserved memory - but once the vm uses its reservation is it is not given back to the vmkernel until the cm is pwered off for this reason I would use shars - assigning a higer share value to the m that needs cpu this way the vm will get access to the cpu when there is contention for cpu resources - and when the vm does not need the cpu redouces they will be available for the other vm -
If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful