You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have two question about the memory usage of virtual machines:
Is the memory static of dynamic?
Is there a general how much memory you should assign to a virtual machine?
With static I mean the host system always uses all allocated memory (even when the virtual machine uses less).
With dynamic I mean the host systems only uses the memory that the virtual machine is actually using.
@KKoukiou: Do you have time to answer above questions 😃 ?
Different OSes have different memory recommendations. osinfo-db is the project that we fetch such information from, so that we can pick the choose the default values. In specific, if you create a VM through cockpit UI, after you fill the operating system field in the 'Create' dialog, the memory size and storage size values are prefilled with the minimum recommended values for the specific OS.
If you try to insert any value less than the minimum you will see a warning in the UI as follows in the screenshot.
Thank you very much for the information 😃 !
Exactly what I wanted to know!
So I have to interpret Size as the maximum size the virtual machine can use.
Last question about memory:
What is the difference between current and maximum allocation in the Nextcloud memory adjustment dialog?
Do I have to interpret current as the minimum allocation?
@Verhoeckx current memory, is the actual allocation of memory for the guest. This can be adjusted while the guest is running, so you can reduce the guest memory or increase it while the VM is running.
Max memory is the maximum value that your current memory value can be increased to.
This needs to be documented inline in the dialog, I know it's not obvious at all.
This needs more thought for sure, I will transfer this discussion to an issue, to make sure to document this properly or simplify it. Thanks for the suggestion.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have two question about the memory usage of virtual machines:
With static I mean the host system always uses all allocated memory (even when the virtual machine uses less).
With dynamic I mean the host systems only uses the memory that the virtual machine is actually using.
@KKoukiou: Do you have time to answer above questions 😃 ?
Beta Was this translation helpful? Give feedback.
All reactions