From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Bei Guan <gbtju85@gmail.com>
Cc: xen-devel <xen-devel@lists.xen.org>
Subject: Re: How to get the accurate physical CPU utilization in Dom0?
Date: Thu, 27 Feb 2014 15:49:39 +0000 [thread overview]
Message-ID: <530F5E93.7020804@citrix.com> (raw)
In-Reply-To: <CAEQjb-RPBHD_n51ixHPwxpoSgzF6Su3VvYAfifuqyWgHGyZddg@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 862 bytes --]
On 27/02/14 15: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?
>
> Any advice is appreciated. Thank you for your time.
Xen is not KVM; dom0 is just another VM as far as Xen is concerned, so
dom0's cpu3 is not domU's cpu3.
Top in dom0 shows dom0's virtual cpu utilisation. I am not aware of a
utility like top which gives the physical cpu information, distributed
by physical cpu.
~Andrew
[-- Attachment #1.2: Type: text/html, Size: 1602 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
prev parent reply other threads:[~2014-02-27 15:49 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é
2014-02-27 16:19 ` Bei Guan
2014-02-27 15:49 ` Andrew Cooper [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=530F5E93.7020804@citrix.com \
--to=andrew.cooper3@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.