From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zhigang Wang Subject: Re: [Xen-API] What is the standard procedure for CPU usage calculation for "Two" Core Dom0..? Date: Thu, 26 Feb 2009 09:03:56 +0800 Message-ID: <49A5EA7C.2070405@oracle.com> References: <194930.98043.qm@web94201.mail.in2.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <194930.98043.qm@web94201.mail.in2.yahoo.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: kushalwaikar@yahoo.co.in Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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@yahoo.co.in > > > ------------------------------------------------------------------------ > Get perfect Email ID for your Resume. Get before others grab. > > > > ------------------------------------------------------------------------ > > _______________________________________________ > xen-api mailing list > xen-api@lists.xensource.com > http://lists.xensource.com/mailman/listinfo/xen-api