Comment #12 on issue 695 by [email protected]: support kvm run-time memory changes (ballooning)
https://code.google.com/p/ganeti/issues/detail?id=695

Other comments: it sounds from this ticket that what's wanted is a setting for "the amount of memory to allocate on instance startup" - but how would that interact with the current algorithm that picks a value between minmem and maxmem? Does it essentially become an override for maxmem for all automatic ballooning operations?

like described above it think would be the best to see "minmem" and "maxmem" only as the lower and upper limits for an running instance between which the runtime memory of an instance could be changed. and "memory" is used as startup memory allocation for an instance. thats how it works for xen and kvm it think.

http://libvirt.org/formatdomain.html#elementsMemoryAllocation
http://wiki.xen.org/wiki/Xen_Configuration_File_Options#VARIABLES

what i do not know if there is any automatic memory ballooning implemented in ganeti. but one case where automatic changing of runtime memory could be needed is when an instance needs to be migrated to an node where not enough memory is available. in this case minmem could be the lower limit to which ganeti should be allowed to automatically reduce the instance current/runtime memory.

maybe i miss something because i dont have the whole picture of ganetis behavior but for me this makes the most sense.

Finally, I guess it would also be useful to have a way to see the *actual* memory allocated to the VM right now. This is similar to ticket #854, where the poster wants to be able to see the run-time values of parameters set in a one-shot way using gnt-instance start [-H/-B], which is different to the startup values stored
against the instance.

yes. it think "gnt-instance list" should show the current memory of the instance.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

Reply via email to