Hello,
You can set an affinity across multiple CPUs but you can not 'pin' a VM across multiple CPUs. Affinity just tells the scheduler which CPU to assign which vCPUs.
Best regards,
Edward L. Haletky
VMware Communities User Moderator, VMware vExpert 2009
====
Author of the book 'VMWare ESX Server in the Enterprise: Planning and Securing Virtualization Servers', Copyright 2008 Pearson Education.
Blue Gears and SearchVMware Pro Blogs -- Top Virtualization Security Links -- Virtualization Security Round Table Podcast
Hi,
Thanks for replay,
but i am little confused with ur answer, how can i set an affinity across multiple CPUs when i can not pin them because of cell concept ?. It will be great if you can redirect me to some documentation.
Thanks
You set the affinity on specify cores of the CPU to match with the numbers of Vcpu assigned in the VM. this meant your VM which contains numbers of Vcpu will only been assigned to be processed on the specify cores. Example you may have 16 cores per ESX servers. When you assign 4 Vcpu to a VM, and set the affinity to 0, 1, 2 and 3, the Vcpu will not be processed on the rest of the cores available on the ESX itself.
Craig
Malaysia VMware Communities - http://www.malaysiavm.com
I agree with edward....now the question is, any reasons you want to set the affinity....keep this in mind that once affinity is set you cannot use features like VMotion for that VM.....
Regards
Anil
Save the planet, Go Green
if you found my answer to be useful, feel free to mark it as Helpful or Correct.