You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/05/16 23:09:15 UTC
[jira] [Commented] (CLOUDSTACK-2545) Inconsistent unit of network
statistics between js and kvm plugin
[ https://issues.apache.org/jira/browse/CLOUDSTACK-2545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13660007#comment-13660007 ]
ASF subversion and git services commented on CLOUDSTACK-2545:
-------------------------------------------------------------
Commit 1a83bf4b447ab058ccf37b4103f8a1c4c44e594b in branch refs/heads/4.1 from [~weizhou]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=1a83bf4 ]
CLOUDSTACK-2545: Change unit of network statistics from 1000 to 1024 for KVM
Signed-off-by: Chip Childers <ch...@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