From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xin Xu Subject: pin hypervisor to physical cpu Date: Thu, 14 Jun 2012 16:58:33 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4229406698187848956==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org --===============4229406698187848956== Content-Type: multipart/alternative; boundary=f46d0446311e77720904c274f67e --f46d0446311e77720904c274f67e Content-Type: text/plain; charset=ISO-8859-1 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 --f46d0446311e77720904c274f67e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
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, th= en 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 j= ust wondering if there is a way to pin hypervisor to a specific cpu?

I am just trying to better understand how this "pi= nning" cpu works. If I pin domu to cpu 0, does that mean all instructi= ons belongs to domu will run in cpu 0? Does that mean cpu 0 will be exclusi= vely assigned to domu and will not run any instructions from dom0 and hyper= visor? 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
--f46d0446311e77720904c274f67e-- --===============4229406698187848956== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============4229406698187848956==--