WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Re: [Xen-API] What is the standard procedure for CPU usage c

To: kushalwaikar@xxxxxxxxxxx
Subject: [Xen-devel] Re: [Xen-API] What is the standard procedure for CPU usage calculation for "Two" Core Dom0..?
From: Zhigang Wang <zhigang.x.wang@xxxxxxxxxx>
Date: Thu, 26 Feb 2009 09:03:56 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 25 Feb 2009 17:04:37 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <194930.98043.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <194930.98043.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.19 (X11/20081209)
I think it's wrong to implement the API to return the percentage. if return
the actual usage, it should be better.

see: http://lists.xensource.com/archives/html/xen-devel/2008-09/msg00069.html

thanks,

zhigang

kushal waikar wrote:
> Hi,
>     I am using "XenAPI -1.0.6" ... I have "Dual Core" machine on which I
> am working..I am trying  to fetch Dom-0 CPU utilization using XenAPI RPC
> "get_utilisation()"(class host cpu)....
>     Since my machine is dual core this function is yielding me
> utilization of Core 1 & Core 2 separately(e.g Core ONE - 0.4241242424  &
> Core TWO - 0.3254842450)..I just want to calculate the overall CPU
> utilization in percentage for the Dom-0...What is the standard procedure
> in this case to calculate overall CPU utilization in percentage by
> considering above two CPU utilizations for each core ?
> 
> Thanks,
> Kushal Waikar
> kushalwaikar@xxxxxxxxxxx
> 
> 
> ------------------------------------------------------------------------
> Get perfect Email ID for your Resume. Get before others grab.
> <http://in.rd.yahoo.com/tagline_dbid_5/*http://in.promos.yahoo.com/address>
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> xen-api mailing list
> xen-api@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/mailman/listinfo/xen-api


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>