I have a Proxmox 6.0-4 host with 32 GB of memory. I have two guest machines, each that will do work and I want to be able to share the RAM between them.
Neither machine will be using 100% of the RAM at a time. So my goal is to configure each one with a Max of 28 GB of RAM, and the minimum of 4 GB.
I have them set like this:
One guest is Windows 10, and the other guest is Linux Mint 20. I have ensured that the Windows guest has the virtio balloon device installed, and that the guest agent is running on Linux Mint.
I start the Linux guest, and it always shows something like 2-4 GB of 28 GB in use. I try to start the other machine but I get an error that the memory cannot be allocated.
The wiki makes it sound like it should "Just work", because it says:
Also, this wiki article makes a reference to the "automatically allocate" text which no longer exists in the current ProxMox.
I have tried the other way, starting the Windows machine first, but it has the same result. I see only ~4 GB of memory being used, and ProxMox reports that it can't allocate memory for the other VM even though it is not actually being used by the Windows guest.
I apologize if this sounds like a stupid question, but I was under the impression that being able to dynamically allocate RAM between two guests without restarting them was one of the fundamental benefits of Virtual Machines and having a server with a large resource pool.
Any help to clarify the situation would be much appreciated!
Neither machine will be using 100% of the RAM at a time. So my goal is to configure each one with a Max of 28 GB of RAM, and the minimum of 4 GB.
I have them set like this:
One guest is Windows 10, and the other guest is Linux Mint 20. I have ensured that the Windows guest has the virtio balloon device installed, and that the guest agent is running on Linux Mint.
I start the Linux guest, and it always shows something like 2-4 GB of 28 GB in use. I try to start the other machine but I get an error that the memory cannot be allocated.
The wiki makes it sound like it should "Just work", because it says:
(https://pve.proxmox.com/wiki/Dynamic_Memory_Management)Modern Linux Kernels does include the Balloon drivers by default. It works out of the box, and you only need to set the VM to "Automatically allocate memory within this range"
Also, this wiki article makes a reference to the "automatically allocate" text which no longer exists in the current ProxMox.
I have tried the other way, starting the Windows machine first, but it has the same result. I see only ~4 GB of memory being used, and ProxMox reports that it can't allocate memory for the other VM even though it is not actually being used by the Windows guest.
I apologize if this sounds like a stupid question, but I was under the impression that being able to dynamically allocate RAM between two guests without restarting them was one of the fundamental benefits of Virtual Machines and having a server with a large resource pool.
Any help to clarify the situation would be much appreciated!