From: Zhigang Wang <zhigang.x.wang@oracle.com>
To: kushalwaikar@yahoo.co.in
Cc: xen-devel@lists.xensource.com
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 [thread overview]
Message-ID: <49A5EA7C.2070405@oracle.com> (raw)
In-Reply-To: <194930.98043.qm@web94201.mail.in2.yahoo.com>
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.
> <http://in.rd.yahoo.com/tagline_dbid_5/*http://in.promos.yahoo.com/address>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> xen-api mailing list
> xen-api@lists.xensource.com
> http://lists.xensource.com/mailman/listinfo/xen-api
prev parent reply other threads:[~2009-02-26 1:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-25 14:45 What is the standard procedure for CPU usage calculation for "Two" Core Dom0..? kushal waikar
2009-02-26 1:03 ` Zhigang Wang [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49A5EA7C.2070405@oracle.com \
--to=zhigang.x.wang@oracle.com \
--cc=kushalwaikar@yahoo.co.in \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.