Memory Provisioning
-
Hello, I'm having difficulties understanding how to provision RAM to VMs.
I want to be able to have two scenarios. Scenario one: One VM is offered almost all the available RAM on the host. Scenario two: I want to have two VMs running, each getting 50% of memory and CPU resources available on host.
It would be nice to be able to switch from scenario one to scenario two without rebooting VMs. Equally nice, it would be to start with scenario two, then shut down one VM and have the system switch to scenario one.
Both VMs will be running Windows 10 Pro.
It seems dynamic memory has issues and have been deprecated.
Let's say my host has 32GB of RAM. If I create two VMs with minimum memory of 16GB and maximum of 32GB, would this satisfy my requirements? Assuming no other VMs are running on the host, will starting one VM cover scenario 1 and then when starting the second VM, the hypervisor will claw back half of the RAM from VM one and assign it to VM two, covering scenario 2?
-
@Kajetan321 Hi,
Mostly you can't assign more RAM than your total host memory that's the rule.
For your case you can use Dynamic memory, the main Issue with dynamic memory is when you migrate a VM the memory is reduce to the minimum memory set.
For your use case set your VM memory at min:8G/max:28G and the other 4/16 this shouldn't cause you any issue -
@Darkbeldin So the min:8G/max:28G and 4/16 is for the static memory settings and leave Dynamic disabled?
It's more important for me that the RAM utilization is optomized than being able to live migrate the VMs (for these particular VMs).
-
@Kajetan321 No static memory would be 28G/28G 8/28 is dynamic memory