From: "Roger Pau Monné" <roger.pau@citrix.com>
To: Bei Guan <gbtju85@gmail.com>, xen-devel <xen-devel@lists.xen.org>
Subject: Re: How to get the accurate physical CPU utilization in Dom0?
Date: Thu, 27 Feb 2014 16:40:54 +0100 [thread overview]
Message-ID: <530F5C86.4060902@citrix.com> (raw)
In-Reply-To: <CAEQjb-RPBHD_n51ixHPwxpoSgzF6Su3VvYAfifuqyWgHGyZddg@mail.gmail.com>
On 27/02/14 16:06, Bei Guan wrote:
> Hi,
>
> I run a PV DomU with 1 vcpu on Xen. I pin the vcpu to a physical CPU
> core, such as core 3. Then, I run a cpu-bound process in DomU and the
> vcpu utilization is 100% (got it with "xentop" in Dom0).
> However, when I use "top" in Dom0 to see the physical CPU utilization,
> the CPU core 3 utilization is zero or less than 1%. The utilization
> expected of CPU core 3 is also 100% like the vcpu. Is it? Why I cannot
> get the accurate physical CPU utilization with "top" command in Dom0?
top in Dom0 will only show CPU utilization of Dom0 (Xen is not a type 2
hypervisor, so Dom0 is no different than any other DomU in this aspect),
if you want to see CPU utilization of all domains you should use xl top
(xentop).
Roger.
next prev parent reply other threads:[~2014-02-27 15:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-27 15:06 How to get the accurate physical CPU utilization in Dom0? Bei Guan
2014-02-27 15:40 ` Roger Pau Monné [this message]
2014-02-27 16:19 ` Bei Guan
2014-02-27 15:49 ` Andrew Cooper
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=530F5C86.4060902@citrix.com \
--to=roger.pau@citrix.com \
--cc=gbtju85@gmail.com \
--cc=xen-devel@lists.xen.org \
/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.