VMware Cloud Community
rajesh10888
Contributor
Contributor
Jump to solution

VM with memory Limit

Dear All,

i have a VM with 3vCPU and 12 GB of RAM running heavy tasks on it.

Customer reports that on every monday the VM goes unavailable for 10 minutes and it affects production.

Earlier VM Settings are below:

----------

VM - Guest OS-w2k3

RAM-12GB Limit set as 1GB

CPU- Limit set as 1.47ghz

So i Found that May be  the VM Constraint for CPU Resources and Removed the Limit in Resource Allocation and Set as unlimited CPU Cycles to VM.

And this monday Customers reporting the same Issue.So i think the VM is not constraint for CPU Cycles.

So i Thought of removing the Limit on Memory too( thinking to set unlimited), Please advise is this cause any performace problems in VM/DRS Cluster( I have enough Memory in Cluster).

============

Below is the idea i captured on VMware Performace Troubleshooting guide, May i Proceed with Memory Setting change as Unlimited.

---------------

Increase the amount of memory allocated to the virtual machine. This action decreases disk and or network activity for applications that cache. This might lower disk I/O and reduce the need for the host to virtualize the hardware. Virtual machines with smaller resource allocations generally accumulate more CPU ready time.

----------

Thanks and Regards,

Rajesh

Reply
0 Kudos
1 Solution

Accepted Solutions
maishsk
Expert
Expert
Jump to solution

You should remove the limit on the RAM as well.

If the OS thinks is has 12GB but the Hypervisor limits it to 1GB the machine will not perform properly.

This KB Impact of virtual machine memory and CPU resource limits (1033115) will provide some more explanation

Maish Saidel-Keesing • @maishsk • http://technodrone.blogspot.com • VMTN Moderator • vExpert • Co-author of VMware vSphere Design

View solution in original post

Reply
0 Kudos
3 Replies
maishsk
Expert
Expert
Jump to solution

You should remove the limit on the RAM as well.

If the OS thinks is has 12GB but the Hypervisor limits it to 1GB the machine will not perform properly.

This KB Impact of virtual machine memory and CPU resource limits (1033115) will provide some more explanation

Maish Saidel-Keesing • @maishsk • http://technodrone.blogspot.com • VMTN Moderator • vExpert • Co-author of VMware vSphere Design
Reply
0 Kudos
Lessi001
Enthusiast
Enthusiast
Jump to solution

Hi,

remove the limits. If necessary change the memory size of the VM - but better do not work with limits.

regards

There are 10 types of people in this world. Those who understand binary, and those who do not.
weinstein5
Immortal
Immortal
Jump to solution

By setting the memory limit when the VM needs more than the 1 GB the vmkernel will utilize the vmkernel swap file which will seriously impact VM performance - 

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful
Reply
0 Kudos