Resource pool , VM running in ESXI server

Hello Experts,

I have a question below questions about resource pools which is feature of VMWare Hypervisior.

1). A VM running in a ESXi server , how it uses the resource pool allocation? I mean , we might have VM which in a single ESXi host which ,might be spaned across the different resource pools. How hypervisior identifies VMs and their associated Resource pools?

2).In case of resource contention how much of resources will be assigned to the VM? I know , it all depends on the Shares what we have for a resource pool? but Question is how much of resource will be assigned to the VM from the ESXi host where it is running? Is there any calculation?

3). Is it worth using Resource pool? I dont think find any reason to use it. As we already have some vSWAP , Ballooning etc already built in the hypervisior. Can someone give me a good reason why we require it? :)

Thanks,

-Prashant Girennavar.
LVL 10
Prashant GirennavarAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

asavenerCommented:
First, you have to understand that resource pools only kick in when there is contention.  Basically, it's a way of making sure that your high-importance workloads aren't impacted by low-importance workloads.

Maybe you have Production machines and Development machines on the same cluster.  If one of the Dev boxes suddenly tries to grab all of the CPU, your resource pool configuration can prevent that runaway machine from affecting the workloads you specify as high-importance.

You would not configure a single resource pool.  You would configure at least two resource pools, and place your VMs in those pools.

There are calculators for resource pools.  You should be able to google them.

The use case for a resource pool is to avoid the use of reservations.  Since a reservation prevents other workloads from using the reserved resources, it's literally a denial of service.
0
Prashant GirennavarAuthor Commented:
ok.

I understand,

So, Last question , incase of resource contention , from where these resource pool pull the resources????

Is it from individual hosts? or from cluster?

Thanks,

-Prashant Girennavar.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

asavenerCommented:
It depends on where the resource pool is created, but typically it's applied at the cluster level.  Each host is a resource, and the cluster is a big pool of resources.
0
Prashant GirennavarAuthor Commented:
ok

Say it has been created on cluster level, so , at the time to resource contention , Resource pool make use of all the 3ESXi host Physical CPU???

  I have always heard , VM run into the ESXi host not on cluster level.


Thanks,

-Prashant Girennavar.
0
asavenerCommented:
Yes, contention happens between guests on the same host.

When contention happens, the ESXi host compares the share values assigned to each guest, and allocates resources based on the shares inherited from the resource pool.

So if you have 30 VMs, each VM inherits a share value based on the resource pool.  When there is contention, the host sums up the share values of the local guests, and then assigns resources proportionate to the guests' shares.

It is possible that all guests on a host will belong to the same resource pool, but it is unlikely if you have a reasonable number of VMs.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Prashant GirennavarAuthor Commented:
This is exactly what I was looking for.

Thanks for the explaination.

-Prashant Girennavar.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VMware

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.