You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2022/03/11 09:03:36 UTC

[GitHub] [cloudstack] div8cn opened a new issue #6100: KVM automatically adds ballooning

div8cn opened a new issue #6100:
URL: https://github.com/apache/cloudstack/issues/6100


   <!--
   Verify first that your issue/request is not already reported on GitHub.
   Also test if the latest release and main branch are affected too.
   Always add information AFTER of these HTML comments, but no need to delete the comments.
   -->
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Improvement Request
   
   
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   
   
   
   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
   <memballoon model='none'/>
   When the mem.overprovisioning.factor  of the cluster is > 1.0, kvm will generate the following memballoon
   <memballoon model='virtio'/>
   
   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!
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org