All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ray Bryant" <raybry@mpdtxmail.amd.com>
To: Jose Renato G <joserenato.santos@hp.com>
Cc: Thomas Friebel <thomas.friebel@amd.com>,
	xen-devel@lists.xensource.com, "Woller,
	Thomas" <thomas.woller@amd.com>
Subject: Re: [XENOPROFILE] and "xm vcpu-pin" doesn't work as expected
Date: Fri, 19 Jan 2007 15:06:49 -0600	[thread overview]
Message-ID: <200701191506.49755.raybry@mpdtxmail.amd.com> (raw)
In-Reply-To: <200612151721.10034.raybry@mpdtxmail.amd.com>

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)

  parent reply	other threads:[~2007-01-19 21:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-15 23:21 [XENOPROFILE] Xenoprof passive profiling broken under cs 13062 Ray Bryant
2006-12-16  9:24 ` [XENOPROFILE] Xenoprof passive profiling broken undercs 13062 Santos, Jose Renato G
2006-12-18 18:06   ` Ray Bryant
2006-12-18 19:02     ` Santos, Jose Renato G
2007-01-19 21:06 ` Ray Bryant [this message]
2007-01-19 22:17   ` [XENOPROFILE] and "xm vcpu-pin" doesn't work as expected Santos, Jose Renato G

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=200701191506.49755.raybry@mpdtxmail.amd.com \
    --to=raybry@mpdtxmail.amd.com \
    --cc=joserenato.santos@hp.com \
    --cc=thomas.friebel@amd.com \
    --cc=thomas.woller@amd.com \
    --cc=xen-devel@lists.xensource.com \
    /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.