WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Re: [XENOPROFILE] and "xm vcpu-pin" doesn't work as expected

To: "Jose Renato G" <joserenato.santos@xxxxxx>
Subject: [Xen-devel] Re: [XENOPROFILE] and "xm vcpu-pin" doesn't work as expected
From: "Ray Bryant" <raybry@xxxxxxxxxxxxxxxxx>
Date: Fri, 19 Jan 2007 15:06:49 -0600
Cc: Thomas Friebel <thomas.friebel@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, "Woller, Thomas" <thomas.woller@xxxxxxx>
Delivery-date: Fri, 19 Jan 2007 13:06:32 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200612151721.10034.raybry@xxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <200612151721.10034.raybry@xxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.8
Renato,

I've been trying to profile an HVM guest and its corresponding Xen usage so I 
used the "xm vcpu-pin" command to pin the HVM guest to CPU 1 and dom0 to CPU 
0 (this is a single socket, dual core setup, but that probably doesn't matter 
here).

I then used the opsetup --separate=cpu option to split out the profile samples 
by CPU, fully expecting to see no "domain1-xen" samples on CPU 0.   However, 
what I actually see is 90% (more or less) of the samples on CPU 0 and the 
remainder on CPU 1.

This problem occurs on both AMD V and VT.

So, I guess the question is:

(1)   Is xenoprof reporting the correct CPU, or
(2)   Does "xm vcpu-pin" really do what it claims it does?

Any ideas on this?   For the moment, I'm ignoring the issue, but I would like 
it better if I could isolate the VCPU's to a dedicated CPU in order to reduce 
measurement overhead in the guest.   (e. g. by forcing the trace daemon to 
run on CPU 0 and the measured guest to run on CPU 1.)

BTW, this is on changeset 13062.

-- 
Ray Bryant
AMD Performance Labs                   Austin, Tx
512-602-0038 (o)                 512-507-7807 (c)



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>