Profile Targets on a Xen* Virtualization Platform

Configure Intel® VTune™ Amplifier and your system with a Xen virtualization platform for performance profiling.

You can use the VTune Amplifier for hardware event-based analysis either for a guest OS (DomU), a privileged OS (Dom0), or all the domains at once.

Configure a Target System for Analysis

Before running a VTune Amplifier analysis on a system with a Xen virtualization platform, enable full-platform CPU monitoring required for event-based sampling analysis:

$ echo "all" > /sys/hypervisor/pmu/pmu_mode

To get CPU profiling data on a virtualized system (Dom0 and the hypervisor only), enter:

$ echo "hv" > /sys/hypervisor/pmu/pmu_mode

Note

  • Some configurations do not support the all mode.

  • CPU events virtualization requires root privileges.

  • Unlike CPU profiling, GPU profiling in the hv mode is available for all domains (Dom0 and DomU).

Configure VTune Amplifier for Xen Platform-Wide Analysis

Prerequisites: Make sure the Dom0 remote analysis target is accessible via the Ethernet/SSH connection from your host without any password.

Create a VTune Amplifier project and specify options for your remote target as follows:

  1. Select the remote Linux (SSH) type of the target system on the WHERE pane.

  2. Specify SSH destination details for your Dom0 remote target system.

  3. Select the Profile System target type to enable platform-wide performance monitoring (WHAT pane).

    As soon as you set up the target options, the VTune Amplifier attempts to automatically install required components on the specified remote system. If, for some reason, the system cannot be reached, VTune Amplifier displays an error message. To troubleshoot this potential problem, make sure the default path specified as the VTune Amplifier installation on the remote system in the WHERE pane is accessible, writable, and has 200Mb of available space. If not, specify another location, for example: /tmp.

As soon as the connection is established and the target is configured, select an analysis type supported on the Xen virtualization platform from the HOW pane:

For more complete information about compiler optimizations, see our Optimization Notice.
Select sticky button color: 
Orange (only for download buttons)