I just want to know how nutanix AHV allocate resource(cpu or memory) to VMs?
Like VMware resource share or limit, and memory overcommit?
You need to set CPU and memory to VM idividually. If you over assign(more then) your cluster can handle. Error will be thrown.
There is no memory oversubscription in AHV in the current versions.
So how much CPU and memory are set, how much will the host consume? Not the actual usage of VM?
The VM will be consuming the actual current usage of CPU and memory.
For example, if you create a VM with 16Gb of memory and at this point of time, the usage is 4Gb, it is consuming 4Gb from the host. But you will not be able to provision more than the host’s maximum of memory.
Thank you for your reply
I have a node with 187.49GB of memory on it, there are three VMs , which use memory resources individually:
VM_A: assign 16GB, use 17%,
VM_B: assign 96GB, use 42.64%
CVM: assign 32GB , use 79.83%
That node show it consumed 78.08% of memory, according to the above usage, if you look at the actual usage, it would not consume more than half of the node, the consumption data displayed by this node is similar to the memory setting value of the virtual machine?
Hi @Wei Cheng
The value displayed for the host is similar to the sum of values of memory settings of the VMs that are running on that host. It is because memory overprovisioning doesn’t work on AHV and you can’t allocate more memory to your VMs than the host has.
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.