From: Xin Xu <jungle.xuxin@gmail.com>
To: Xen-devel@lists.xen.org
Subject: pin hypervisor to physical cpu
Date: Thu, 14 Jun 2012 16:58:33 -0400 [thread overview]
Message-ID: <CA+ANA0HStvsP=6=39h2qDP_gQ7vXRNSSa8PPwAO8ac89Ku8ypg@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 859 bytes --]
Hi everyone,
I am trying to identify the current running task is belonging to domu, dom0
or hypervisor. So I figured if I can separate domu, dom0 and hypervisor to
different physical CPUs, then I can just look at cpu and then tell the task
belongs to which. I use xm vcpu-pin to pin domu and dom0, but it does not
work for hypervisor. I am just wondering if there is a way to pin
hypervisor to a specific cpu?
I am just trying to better understand how this "pinning" cpu works. If I
pin domu to cpu 0, does that mean all instructions belongs to domu will run
in cpu 0? Does that mean cpu 0 will be exclusively assigned to domu and
will not run any instructions from dom0 and hypervisor? I pin dom0 to cpu
0, and dom1 to cpu1, but i still see instructions running in cpu 2 and 3.
How can I tell what are those instructions in cpu 2 and 3?
Thank you
Xin Xu
[-- Attachment #1.2: Type: text/html, Size: 989 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
reply other threads:[~2012-06-14 20:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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='CA+ANA0HStvsP=6=39h2qDP_gQ7vXRNSSa8PPwAO8ac89Ku8ypg@mail.gmail.com' \
--to=jungle.xuxin@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).