Solved

VMWARE balloon issue

Posted on 2011-09-27
3
829 Views
Last Modified: 2012-05-12
I am getting high cpu utlization on some of my guests they are windows 2003 boxes . attached is the ballooned ram info and the memory configuration of the guest , I know that this is due to some misconfig on the memory , but not sure what to do next  sss
0
Comment
Question by:NAMEWITHELD12
3 Comments
 
LVL 1

Author Comment

by:NAMEWITHELD12
ID: 36713292
I think i know what is going on the guest is allocated 2gb ram , but it is limited at the resource pool at 1gb so ......
0
 
LVL 23

Assisted Solution

by:bhanukir7
bhanukir7 earned 100 total points
ID: 36716501
hi

VMware balooning is applied only when there is limited memory on the ESX server (memory over commit) and not based on the limits.

so you may want to check if this machine is part of any cluster or resource pool where there is memory limit

or if the over all memory usage on the physical ESX host is higher than 80%

regards
bhanu
0
 
LVL 23

Accepted Solution

by:
Mysidia earned 400 total points
ID: 36896329
This panel shows  "Limit:  1.00gb"   "Configured: 2.00gb"

In other words, the VM is configured for 2gb of RAM,  but a  Limit of  1gb has been applied to the VM.

The OS running in the VM has no idea about that "1gb limit",  therefore, the guest OS will attempt to use the entire 2gb,  resulting  in ballooning,  or swapping   of the portion of private memory used minus the VM's limit  by the hypervisor in order to enforce the limit.

Because this configuration doesn't actually relieve memory pressure in the guest OS, and creates a performance penalty, due to the hypervisor having to apply ballooning or swapping, it is strongly recommended that you change the VM's configured memory to 1gb,  OR remove the limit from the VM under  Edit Settings >  Resources > Memory.


There are situations where memory limits are suitable,  but in general they are not, and aggregate performance is much better when configuring  resource pools, memory share values,  and reservations,  for the VMs that need memory with higher priority rather than attempting to set a limit on lower priority VMs.

Share priorities apply when there is resource contention on the host.

Resource limits ALWAYS apply;  even if there is 30gb of RAM free on the host,
a VM with  2gb of memory assigned and limited to 1gb  can balloon and swap.



0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question