All of lore.kernel.org
 help / color / mirror / Atom feed
From: William Cohen <wcohen@redhat.com>
To: xen-devel@lists.xensource.com
Cc: oprofile-list <oprofile-list@lists.sourceforge.net>
Subject: [PATCH] Xenoprof: Enabling performance profiling in Xen
Date: Mon, 11 Apr 2005 16:27:27 -0400	[thread overview]
Message-ID: <425ADDAF.3000809@redhat.com> (raw)

I took a quick look at the patches for supporting profiling in Xen and I 
have some questions about the patches.

-Do all domains have to use the same setup for the performance 
monitoring counters? Or is there some virtualization of the performance 
counters?

-How is this going to interact with other performance monitoring 
infrastructure such as perfctr and perfmon? Or is the design going to 
need to be significantly revised for other performance monitoring 
interfaces? I like OProfile as much as anyone else, but I would like to 
see the Xen support allow the other interfaces to performance monitoring 
hardware to work.

-It appears that the multiple samples can be queued up in the 
hypervisor. In the OProfile kernel support when a process exits there is 
a flush of the per cpu buffers to make sure that the VMAs are mapped to 
files and offsets before the the mappings are lost. Should there be a 
flush of the samples from the hypervisor to make sure that they are read 
out before the process exits and the memory maps are lost?

-OProfile analysis tools expect the exectuable to be around when 
analyzing the sample files. Is the oprofile user space making the 
assumption that the domains have the same executables for the active and 
passive domains? Things could be messy if the domains are different, 
e.g. Fedora Core 3 domain and a Rawhide domain.

-Should get rid of xen-2.0.5/xen/arch/x86/oprofile/#Makefile# in the xen 
hypervisor patch.


-Will

             reply	other threads:[~2005-04-11 20:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-11 20:27 William Cohen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-04-11 22:37 [PATCH] Xenoprof: Enabling performance profiling in Xen Santos, Jose Renato G (Jose Renato Santos)
2005-04-09  3:18 Santos, Jose Renato G (Jose Renato Santos)
2005-04-09  3:10 Santos, Jose Renato G (Jose Renato Santos)
2005-04-11 22:53 ` Andrew Theurer
2005-04-11 23:45   ` Aravind Menon

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=425ADDAF.3000809@redhat.com \
    --to=wcohen@redhat.com \
    --cc=oprofile-list@lists.sourceforge.net \
    --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.