Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 79
  • Last Modified:

Question about locking memory in VMware host.

Hello i have a question about locking memory issue in Vmware Esxi 5.5.
I have a host with 64 GB RAM. I want to lock all memory to one VM. When i did it and want to power on VM, error with insuficient resources blocking the VM from start. Then i try and realize that i can reserve only about 58 GB of memory and the VM turns on. It is normal? Where is the rest of memory? It is used by vmware?

Thank you.
0
Pavol Vrabec
Asked:
Pavol Vrabec
  • 2
1 Solution
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Firstly this is TOO BE expected, and usual behaviour.

The Hypervisor requires some memory to operate, also for every VM, there is also a memory overhead, required by the hypervisor to execute the VM.

So Hypervisor requires memory for it's OS + Memory overhead for the VM, to satisfy 64GB is probably greater than 64GB.

If you want to allocate ALL memory in the host to a VM, why use a hypervisor ? Install on bare metal or increase memory in the host.

it may not be a good candidate for virtualization, considering the cost of the hypervisor license!

Memory Reservation is the function to use, because it GUARANTEES memory for the VM, e.g. ring fences the memory resource, so no other VM can take memory away from the VM, whether that VM is using all the memory or not it does not matter.
0
 
Pavol VrabecAuthor Commented:
Yes i know but later we want to buy additional resources and add another VMs. So thank you now i understand the problem.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
No problems.
0

Featured Post

NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now