allocate resource

helicrenz

New Member
May 29, 2021
21
1
1
33
Hello Guys,

Anyone assist me is this possible? if a device is on standby or idle then you should remove some resources (unused memory) and allocate it to another host that needs this. Can you please point on right direction how i can do this on my guest?
 
Hello Guys,

Anyone assist me is this possible? if a device is on standby or idle then you should remove some resources (unused memory) and allocate it to another host that needs this. Can you please point on right direction how i can do this on my guest?
For the CPU that works fine out of the box. And thin provisioning is great for HDDs/SSDs as long as you monitor the available capacity. For RAM that isn't really possible. So you should avoid to overprovision your memory. Win and Linux will always try to eat all RAM you throw at them because of page file caching. The more RAM you allocate the more they will "waste".
There is ballooning but that will just limit the amount of RAM using fixed ratios. Because ballooning doesn't care if a VM is idleing or at its limit, it will reduce the RAM of both VMs and force the busy VM to kill processes to free up memory while the idle VM is still wasting RAM.
So dont give all VMs together more RAM than your host got. And don't give a VM more RAM than it actually needs so caching isn't wasting that much RAM.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!