VMware Cloud Community
khughes
Virtuoso
Virtuoso

Resource Allocation - Custom vs Normal

I feel stupid asking this question but it is something I haven't even really bothered looking at until now.  When we first converted a lot of our physical servers (p2v process) we had an outside vendor do the job while we helped out to learn.  I've been slowly starting to look through our VM's to maximize our performance after I've noticed small performance slowdowns.  One thing I did come accross are that under VM's we've converted, inside the edit settings the resource allocation is set to custom with a defined number vs newly built out VM's which have the resources shares set to normal.

We're currently running on average 20% CPU / 40-50% Memory on all of our hosts so resources aren't an issue, no resource pools are setup besides the default.   Should these resource shares be set to normal or left at the custom level? The VM's I've noticed this have been Databases.

See screenshots attached.  Thanks for any insight.

-- Kyle "RParker wrote: I guess I was wrong, everything CAN be virtualized "
Reply
0 Kudos
4 Replies
mcowger
Immortal
Immortal

Your vendor likely did this to try to gurantee resources for these in times of contention.  Resource shares have 0 effect if you aren't resource constrained (which, as you say, you aren't), so for now these are not kicking in.

What you set them to is a matter of policy.  You can use the Low/Medium/Normal/High options given (which just correspond to default #s), or set your own values.

--Matt VCDX #52 blog.cowger.us
Reply
0 Kudos
depping
Leadership
Leadership

Prioritize appropriately but in general I would recommend to avoid setting custom shares. Reset everything to the default "normal" and see how the environment behaves. Based on the the behaviour select the appropriate actions which might be a reservation or increases shares level.

Duncan (VCDX)

Available now on Amazon: vSphere 4.1 HA and DRS technical deepdive

Reply
0 Kudos
joshuatownsend
Enthusiast
Enthusiast

I explained a bit about resouce pool Shares settings and how they can impact performance here: http://vmtoday.com/2012/03/vmware-vsphere-resource-pools-resource-allocation-revisited/

If you found this or other information useful, please consider awarding points for "Correct" or "Helpful". Please visit http://vmtoday.com for News, Views and Virtualization How-To's Follow me on Twitter - @joshuatownsend
Reply
0 Kudos
shishir08
Hot Shot
Hot Shot

First of all there is no silly questions and nothing to feel stupid. Shares come into existence when there will be resource contention otherwise your VMs will keep running as per the allocation.When the resource contention happens then VMkernel look for the shares of the VM and decide the allocation accordingly. Shares could be High Normal and Low in the 4:2:1 ratio.Apart from this custom is something which admin defines to guarantee the allocation.When there is confusion as what is better then you should always choose "Normal"  as the share.This will ensure that the VMs do not crib as well as do not get overallocated when there is contention.

Reply
0 Kudos