Hi all,
I have been trying to find information about this, but so far I have not been able to find an answer that explains my question. I will try to explain it as detailed as possible.
AT this moment I have Proxmox running with a machine with 64 GB of RAM, the total assigned RAM is 52.
When I start machines with dedicated (no ballooning allowed) memory, for example 8 GB, it uses more then 1,5 times the memory. In this case, it's using 12,8 GB memory, for a 8 GB assigned VM.
If I look at the VM's that do have ballooning, what is used and what is assgined, it also is close to 1,5 times the current memory.
Now my question mainly is; is it correct that this is close to 1,5 times the memory (50% overhead I find quite a lot though), and where does it come from. Because if it is, then that means that running all my machines at once is around 78 GB memory, thus my entire plan for all my VM's is out of the window and I would require a lot more memory then I expected.
I understand that the core-system also needs some memory, but I kind of assumed that I would be able to run about 50 - 55 GB of RAM without needing more. Is there something I need to to make sure it's possible that I will not need that much overhead, or what would I need to look out for.
Relevant information:
- 1 TB NVMe
- 16 thread processor
- 64 GB RAM
- ZFS (recommended) installation
Thanks in advance!
Edit:
I did some adjusting based on this thread: https://forum.proxmox.com/threads/proxmox-6-x-consumes-more-memory-than-assigned-using-zfs.79520/
What I did is disable KSM, and it looks like it's freeing up a lot of memory because of this. Might this be the reason for it, or am I looking at things wrong? since I have been using about 20 GB less RAM now then I did before.
If KSM giving such an overhead, would this not actually be worse, and beat its own purpose?
I have been trying to find information about this, but so far I have not been able to find an answer that explains my question. I will try to explain it as detailed as possible.
AT this moment I have Proxmox running with a machine with 64 GB of RAM, the total assigned RAM is 52.
When I start machines with dedicated (no ballooning allowed) memory, for example 8 GB, it uses more then 1,5 times the memory. In this case, it's using 12,8 GB memory, for a 8 GB assigned VM.
If I look at the VM's that do have ballooning, what is used and what is assgined, it also is close to 1,5 times the current memory.
Now my question mainly is; is it correct that this is close to 1,5 times the memory (50% overhead I find quite a lot though), and where does it come from. Because if it is, then that means that running all my machines at once is around 78 GB memory, thus my entire plan for all my VM's is out of the window and I would require a lot more memory then I expected.
I understand that the core-system also needs some memory, but I kind of assumed that I would be able to run about 50 - 55 GB of RAM without needing more. Is there something I need to to make sure it's possible that I will not need that much overhead, or what would I need to look out for.
Relevant information:
- 1 TB NVMe
- 16 thread processor
- 64 GB RAM
- ZFS (recommended) installation
Thanks in advance!
Edit:
I did some adjusting based on this thread: https://forum.proxmox.com/threads/proxmox-6-x-consumes-more-memory-than-assigned-using-zfs.79520/
What I did is disable KSM, and it looks like it's freeing up a lot of memory because of this. Might this be the reason for it, or am I looking at things wrong? since I have been using about 20 GB less RAM now then I did before.
If KSM giving such an overhead, would this not actually be worse, and beat its own purpose?