[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-8247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14558199#comment-14558199
 ] 

ASF GitHub Bot commented on CLOUDSTACK-8247:
--------------------------------------------

GitHub user bhaisaab opened a pull request:

    https://github.com/apache/cloudstack/pull/297

    CLOUDSTACK-8247: Pull average Cpu util report between polling

    Pull average Cpu util report between polling intervals instead of since boot
    instead of using values since uptime
    
    While cherry picked from commit 04176eaf171b46638be99b2f675aa2f09e99e1b8, 
since codebases are different wrt kvm. It's slightly different than the 
original commit.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/apache/cloudstack CLOUDSTACK-8247-for-master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cloudstack/pull/297.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #297
    
----
commit c8d0287af2549ed38f04270803589a70a1354fc5
Author: Rohit Yadav <[email protected]>
Date:   2015-05-22T11:20:50Z

    CLOUDSTACK-8247: Pull average Cpu util report between polling
    
    Pull average Cpu util report between polling intervals instead of since boot
    instead of using values since uptime
    
    (cherry picked from commit 04176eaf171b46638be99b2f675aa2f09e99e1b8)
    Signed-off-by: Rohit Yadav <[email protected]>
    
    Conflicts:
        
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java

----


> KVM host cpu util doesn't work
> ------------------------------
>
>                 Key: CLOUDSTACK-8247
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8247
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: KVM
>    Affects Versions: 4.3.0, 4.4.0, 4.5.0
>            Reporter: Marcus Sorensen
>            Assignee: Rohit Yadav
>             Fix For: 4.5.2
>
>
> CPU util is pulled from one screen of top, which means it returns the average 
> since the host was started. In practice this takes a lot to move the percent 
> at all, we should replace it with something that returns an average CPU 
> between polling intervals.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to