User Guide

  • 2020
  • 06/18/2020
  • Public Content
Contents

Profile Targets on a Xen* Virtualization Platform

Configure
Intel® VTune™
Profiler
and your system with a Xen virtualization platform for performance profiling.
You can use the
VTune
Profiler
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
Profiler
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
  • 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
Profiler
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
Profiler
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
    Profiler
    attempts to automatically install required components on the specified remote system. If, for some reason, the system cannot be reached,
    VTune
    Profiler
    displays an error message. To troubleshoot this potential problem, make sure the default path specified as the
    VTune
    Profiler
    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:

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804