Quantcast
Channel: C#
Viewing all articles
Browse latest Browse all 1853

Remote Analysis Workflow

$
0
0

Use the Intel® VTune™ Amplifier installed on the Windows* or Linux* host to analyze code performance and power consumption on remote systems. For example, this is a basic usage mode for the VTune Amplifier for Systems, a part of Intel® System Studio 2014, that provides performance analysis of applications running on Linux embedded platforms and Android* devices.

Note

Power analysis on embedded Linux systems is available via the VTune Amplifier GUI. To run Power analysis on an Android system, use the Intel® Energy Profiler. See the collateral documentation for details.

VTune Amplifier supports the following usage modes for remote analysis:

Remote Usage Mode with VTune Amplifier Remote Collector and SSH/ADB Communication

Requirements for the target system: ~25 MB disk space

This mode is recommended for most cross-development scenarios. It is also the only possible usage mode if your target system is resource-constrained (insufficient disk space, memory, or CPU power) or if you use a highly customized Linux target system.

To collect data on a remote embedded Linux system:

1.

Install VTune Amplifier

Install the full-scale VTune Amplifier product on the host system.

2.

Prepare your target system for analysis

  1. Set up a password-less SSH access to the target using RSA keys.

  2. Build the drivers on the host.

  3. Copy the drivers to the target system and install them.

  4. Install the VTune Amplifier remote collector on the target system.

3.

Configure and run remote analysis

  1. Specify your target application and remote system.

  2. Choose an analysis type.

    Note

    On Linux embedded systems with the remote collector installed, the VTune Amplifier for Systems supports only hardware event-based sampling and Power analysis types. Algorithmic analysis types (Basic Hotspots, Concurrency, Locks and Waits) are not supported. To run algorithm analysis on a remote Linux system, consider using the native mode.

  3. Configure the analysis type.

  4. Run the analysis from the host.

4.

View results

View the collected data on the host.

To collect data on an Android system:

1.

Install VTune Amplifier

Install the full-scale VTune Amplifier product on the host system. By default, the VTune Amplifier also installs the remote collector on the target Android system as soon as you run the first remote collection.

Note

  • If the remote VTune Amplifier collector is installed on a non-rooted device, during installation you may get an error message on missing/incorrect drivers. You can dismiss this message if you plan to run the user-mode sampling and tracing collection (Basic Hotspots) only.

  • For Power analysis on Android systems, install one of the following Intel Energy Profiler utilities:

    • SoCWatch command line tool (SoCWatch) for Intel 22 nm ultra-mobile processors (code name: Silvermont) and 4th Generation Intel® Core™ processors based on Intel microarchitecture code name Haswell

    • WakeUp Watch command line tool (WuWatch) for the First Generation Intel® Atom™ processors

2.

Prepare your target system for analysis

  • Configure your Android device for analysis.

  • Gain adb access through TCP/IP to an Android device.

  • To enable hardware-event-based sampling analysis, Power analysis with Intel Energy Profiler, or Java* analysis, gain root mode adb access to the Android device.

  • To enable hardware-event-based sampling analysis or Intel Energy Profiler analysis via the SoCWatch or WuWatch tool, verify that version compatible pre-installed signed drivers are on the target Android system.

3.

Configure and run remote analysis

  1. Prepare your Android application for analysis.

  2. Specify your analysis target and remote system.

  3. Optionally, specify binary and source search directories.

  4. Choose an analysis type.

    Note

    On Android platforms, the VTune Amplifier for Systems supports hardware event-based sampling analysis types and Basic Hotspots analysis. Other algorithmic analysis types (Concurrency and Locks and Waits) are not supported.

  5. Configure the analysis type.

  6. Run the analysis from the host.

4.

View collected data

View the collected data on the host.

Native Usage Mode

Requirements for the target system: ~200 MB disk space.

This mode is recommended for regular Linux target systems from supported operating systems listed in the product Release notes. In this mode, you install the full-scale VTune Amplifier product on the host system and install the command line interface of the VTune Amplifier, amplxe-cl, on the target system, which enables you to run native data collection directly on the target and collect all types of performance data supported by the VTune Amplifier, including all algorithmic analysis types.

The following figure shows an overview of the remote analysis that is run with amplxe-cl directly on the target system:

In the native usage mode, workflow steps to configure and run analysis on a remote system are similar to the remote collector mode.

Inglese

Viewing all articles
Browse latest Browse all 1853

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>