Assigning cores to VM in vSphere
Posted
by
user114933
on Server Fault
See other posts from Server Fault
or by user114933
Published on 2012-03-22T04:56:10Z
Indexed on
2012/03/22
5:31 UTC
Read the original article
Hit count: 232
vmware-vsphere
|multi-core
Complete vSphere newbie here...
Background:
So, I have a 12 core machine with 24 VMs on it. Currently, all the processing power is shared between these VMs equally.
The question:
Can I configure one VM to be given two CPU's worth processing no matter what's happening on the other machines?
My Research:
I tried two things in vSphere...
I set the reservation and limit on one VM to equal the same as two cores. To test if my objective was being reached, I measured the time it would take to gzip a file when other VMs were running nothing and when other VMs were running CPU intensive operations. I expected the time to gzip the file would be the same because this VM gets priority for some processing. Unfortunately, the time taken to gzip the file when other VMs were running something was significantly more than when other VMs were not running anything.
I tried setting the Hyperthreaded Core Sharing mode to Internal hoping that this would mean that my VM would get at least an entire core to itself. This did not work either.
Thanks in advance!
© Server Fault or respective owner