action #59109
openuse ballooning to improve snapshot performance
0%
Description
https://github.com/os-autoinst/os-autoinst/pull/1020 allows to enable memory ballooning to improve snapshot performance using the parameter "QEMU_BALLOON_TARGET". We can set this parameter and try out what impact on performance it has.
Updated by okurz almost 5 years ago
- Related to action #40538: Reset/Clear guest RAM when it reboots in QEMU to reduce RAM snapshot size added
Updated by okurz almost 5 years ago
Discussed with rpalethorpe. The variable "QEMU_BALLOON_TARGET" should be set to a reasonable value in the range [0;QEMURAM] in MB. The higher the value, the higher is the amount of RAM that is "requested" for ballooning, i.e. how much (free) RAM space from the VM should be consumed and hence reclaimed. The higher the value the better as snapshots will decrease accordingly but also the longer it can take for the reclaiming which can eventually timeout. The theoretical upper limit is the actually used RAM within the VM.