[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Questions about Using Perf at Dom0


  • To: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
  • From: Sanghyun Hong <shhong@xxxxxxx>
  • Date: Mon, 29 Aug 2016 18:42:34 +0000
  • Accept-language: en-US
  • Cc: Tudor Dumitras <tdumitra@xxxxxxxxxxxxxx>, Alina Nicolae <alinanicolae992@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxx>
  • Delivery-date: Tue, 30 Aug 2016 03:51:42 +0000
  • Ironport-phdr: 9a23:tdqGVh+bctB5N/9uRHKM819IXTAuvvDOBiVQ1KB80+ocTK2v8tzYMVDF4r011RmSDNydt64P0rKM++C4ACpbsM7H6ChDOLV3FDY9wf0MmAIhBMPXQWbaF9XNKxIAIcJZSVV+9Gu6O0UGUOz3ZlnVv2HgpWVKQka3CwN5K6zPF5LIiIzvjqbpqsSVP1kD3WLnKfMqdVPt/F2X7pFXyaJZaY8JgiPTpXVJf+kEjUhJHnm02yjG28Gr4ZR4+D5Rsf9yv+RJUKH9YrhqBecAVGduGykP6cbqrRjOSxeUrjtZCz1O00kAPw+QxhbgX4y5lTDmrO1jwyqLdZn8Sqo1QnKl9LtxTwHzizYvMCQw+2XazMd3ifQIjgimoklEyojbYJCIMrJeeaXSNYcBRWpGWMl5SilNRI6wct1cXKI6Ie9Eotyl9BM1phykCFzpXbu3xw==
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>
  • Thread-index: AQHSAffgFIFS200fxU6mxKLNONaKQw==
  • Thread-topic: [Xen-devel] Questions about Using Perf at Dom0

Hi Boris, 

I’ve found the documentations(https://github.com/torvalds/linux/blob/master/Documentation/ABI/testing/sysfs-hypervisor-pmu) in the kernel source code, and it seems like if we change the mode from self to all then we can collect counters for all the domains, right?

All the best,
Sanghyun.


On Aug 29, 2016, at 12:36 PM, Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx> wrote:

On 08/29/2016 09:18 AM, Sanghyun Hong wrote:
Dear Xen-Devel Community:

I’m a grad student working on measuring performance counters at the
Xen domains. I read this
thread(https://wiki.xenproject.org/wiki/Xen_Profiling:_oprofile_and_perf) in
web, and it says using Linux perf command will let us collecting
performance counters in both dom0 and domU. Does it mean that we can
collect both of them at once if we run perf command on the dom0? (If
not, does it mean we can collect counters for each domain separately
once we run the perf command in each domain?

Profiling both guest and dom0 (and the hypervisor) requires changes to
perf and those are not there yet.

But you can run perf in each guest (including dom0) separately. Make
sure you have vpmu=true boot option.

-boris






_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.