KVM automatically adds ballooning
ISSUE TYPE
- Improvement Request
SUMMARY
By default ,we cannot get the memory usage of vm through libvirt;
Through analysis, it is found that the reason is that we did not add memballoon correctly in kvm;
When the mem.overprovisioning.factor of the cluster <= 1.0, kvm will generate the following memballoon
So when memballoon.model=none, we can't get the memory usage of the vm through dommemstat (assuming they all have qga installed correctly)
I wonder if we can set memballoon to virtio under any circumstances, and configure period=10 to let it automatically count the latest memory consumption.
In this way, we can use third-party tools to monitor the resource usage of the vm, making up for the regret that cloudstack cannot view the historical consumption of vm resources!
Hi @nvazquez @div8cn ,Am intrested in contributing to solve this issue,can you please assign me this,It would be helpful. Thank you
@ravitejasssihl get comfortable with the code base (for instance going through https://github.com/shapeblue/hackerbook) and when you feel comfortable submit a PR.
@DaanHoogland a PR has addressed it: https://github.com/apache/cloudstack/pull/6358
ok, linking it