Static memory limits
The documentation explains the Dynamic setting, but not Static. What does it do?
It's… static, meaning the memory will ALWAYS stay at this level, regardless what's happening
What is the purpose of the two settings under static?
That's the dynamic range, that is not used when all values are equal.
I must be dense today. I totally get memory ballooning, but from the UI it looks like we have two sets of settings (Static and Dynamic) each with their own minimum and maximum settings. What is the difference between Static and Dynamic min and max?
haha no worries. Dynamic means "can be changed while the VM is running" and static only when it's halted
So this would mean:
- Start the VM with 512 MiB
- Balloon up to 4 GiB
- Balloon down to 1 GiB
What does the 5 GiB setting do?
Forget about static min.
This means: start with 1GiB (dynamic min is memory on boot basically). You can balloon up to 4GiB while running (by changing dynamic min to 4GiB), and go down again to 1GiB by set again dynamic min to 1GiB => dynamic is your "live" range.
You can change the dynamic max (while the VM is running) up to 5GiB.
Ballooning will change the amount dynamically (if needed) inside your 1GiB->4GiB range while live.
But frankly, stick with static memory in general (having dynamic min == dynamic max == static max), this will solve a lot of headaches.
For those coming here from Google who are still unsure of some of the details, including what the static lower bound is actually for, here is the corresponding documentation for XenServer: https://docs.xenserver.com/en-us/citrix-hypervisor/vms/vm-memory.html