cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-2545) Inconsistent unit of network statistics between js and kvm plugin
Date Thu, 16 May 2013 21:09:15 GMT

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

ASF subversion and git services commented on CLOUDSTACK-2545:
-------------------------------------------------------------

Commit a29e39365aab0ff4024ff5ff4b04fccb7abc2885 in branch refs/heads/master from [~weizhou]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a29e393 ]

CLOUDSTACK-2545: Change unit of network statistics from 1000 to 1024 for KVM
Signed-off-by: Chip Childers <chip.childers@gmail.com>

                
> Inconsistent unit of network statistics between js and kvm plugin
> -----------------------------------------------------------------
>
>                 Key: CLOUDSTACK-2545
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2545
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>    Affects Versions: 4.1.0, 4.2.0
>            Reporter: Wei Zhou
>            Assignee: Wei Zhou
>            Priority: Minor
>             Fix For: 4.1.0
>
>
> when convert bytes to KBs in kvm plugin (LibvirtComputingResource.java)
>      stats.setNetworkReadKBs(deltarx / 1000); 
>      stats.setNetworkWriteKBs(deltatx / 1000);
> But on cloudstack ui (ui/scripts/instances.js)
>       networkkbsread: (jsonObj.networkkbsread == null)? "N/A": cloudStack.converters.convertBytes(jsonObj.networkkbsread
* 1024),
>       networkkbswrite: (jsonObj.networkkbswrite == null)? "N/A": cloudStack.converters.convertBytes(jsonObj.networkkbswrite
* 1024)
> It means, if the real value is 1000, the display on cloudstack ui will be 1024.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message