Intel® VTune™ Amplifier for Systems Usage Models

        Intel® VTune™ Amplifier for Systems is available through Intel(R) System Studio product. It is a software performance analysis tool for users developing serial and multithreaded applications on Embedded and Mobile system. VTune Amplifier supports multiple usage modes for various target systems depending on your development environment and target environment. In this article, we will describe the Vtune Amplifier usage modes and the recommended modes for different target systems.

        There are two major ways to use VTune Amplifier for performance analysis, remote analysis and native analysis.
        Remote analysis: We are operating the analysis on a HOST machine by using VTune amplifier command line interface, or VTune Amplifier GUI interface, to collect the performance data on a TARGET system. The communication between HOST and TARGET are done through SSH protocol or ADB. SSH is mainly used for Linux based embedded target system while ADB is mainly used for Android target system.
        Native Analysis: We are operating the analysis on the TARGET system directly. In this case, we will be in the target system command console, run the Vtune amplifier utilities to collect the performance data. Once the data was collected, we will copy the result data back to HOST system and use VTune Amplifier GUI to view and investigate the performance data.

        In this article, we will cover the following topics. You are recommended to read the Getting start document of VTune amplifier which installed on your host machine, or the online doc for further details on the entire working flow: Remote Analysis Workflow.
        Remote Analysis
                 
Remote analysis using VTune Amplifier command line interface (amplxe-cl)
                 
Remote analysis using VTune Amplifier GUI interface (amplxe-gui)
        Native Analysis
                  Native analysis with the VTune Amplifier command line interface (amplxe-cl) on embedded Linux systems

                  Native analysis with VTune Amplifier command line interface (amplxe-runss) on Android system
                  Native analysis with VTune Amplifier hardware event-based sampling collector (SEP) on embedded Linux systems 

        Summary
       
Reference

Remote analysis using VTune Amplifier command line interface (amplxe-cl)

        Requirements on Target: ~30 MB disk space. Low memory footprint. Supports both embedded Linux and Android targets.

        This mode is recommended for most cross-development scenarios. It is also the only possible remote usage mode if your embedded platform is resource-constrained (by insufficient disk space, memory, or CPU power). In this mode, you need to install the VTune Amplifier drivers and collector utilities on the target system and run the analysis from the host system.
         For more details on the remote usage mode, see the User’s Guide Running Analysis Remotely chapter of the VTune Amplifier help documents. For details on the amplxe-cl usage, see the User’s Guide->Command Line Interface Support chapter. VTune Amplifier help is available in the following directories:
          On Linux: <install_dir>/documentation/<locale>/help/index.htm. By default, <install_dir> is /opt/intel/system_studio_2014.0.xxx/vtune_amplifier_2014_for_systems.
          On Windows: <install-dir>\documentation\<locale>\help\perfhe.chm. By default, <install_dir> is [Program Files]\Intel\System Studio 2014.0.xxx\VTune Amplifier 2014 for Systems.

       You can also refer to the Running Analysis Remotely  and  Command Line Interface Support from online documentation.

        Collecting Data Remotely on Linux* Embedded Systems from Command Line
        
Collecting Data Remotely on Android* from Command Line

        For remote analysis for an embedded linux system, we use SSH protocol to communicate with the target system. For remote analysis for an Android system, we normally use ADB to communicate with Android target system. For Embedded linux target system, e.g. Yocto project based target, you may refer to following articles: How to use remote collection on Intel VTune Amplifier for Systems

       In the case that you need to build the VTune Amplifier driver for your target system, you may also refer to article: How to Build and Install Vtune Amplifier Sampling Driver for Embedded/Mobile system

Remote analysis using VTune Amplifier GUI interface (amplxe-gui)

        Requirements on Target: ~30 MB disk space. Low memory footprint. Support both embedded Linux target and Android target.

        You may use the Intel® VTune™ Amplifier graphical interface running on the host system to collect data on remote regular or embedded Linux* system and Android* devices. It provides a good wrap in the GUI to help you running the remote data collection more conveniently.
        For more details on the remote data collection with VTune Amplifier GUI, see the User’s Guide Running Analysis Remotely -> Collecting Data Remotely chapter of the VTune Amplifier online help:  Running Analysis Remotely  ->  Collecting Data Remotely from the VTune Amplifier GUI

Native analysis with the VTune Amplifier command line interface (amplxe-cl) on embedded Linux systems

        Requirements: ~200 MB disk space. High memory footprint. Support Embedded Linux target. Android target is not supported.

        This mode is recommended for regular Linux target systems listed in the product Release notes. In this mode you install the command-line interface on the target system and run the analysis directly from the target. To install the command-line interface on the target system, use the following steps:

  1. On Linux host system, after extracting the product tar file, e.g. in the folder l_cembd_p_2014.x.y, copy the amplifier_CLI_Install folder (found at the top level of the extracted files) to the remote system.
  2. Execute ./install.sh script file (this file is located inside the amplifier_CLI_Install  folder) and follow the instructions to install.  No license activation will be required.

        Please refer to VTune Getting Started ->Remote Analysis Workflow, at the bottom of this doc, for more details on Native usage mode. Or refer to the online doc: Remote Analysis Workflow

        For details on the amplxe-cl usage, see the User’s Guide->Command Line Interface Support chapter of the VTune Amplifier help. Or refer to Command Line Interface from online documentation.

Native analysis with VTune Amplifier command line interface (amplxe-runss) on Android system

      VTune amplifier support the native performance data collection on Android target system. Please refer to VTune Amplifier help document installed on your host machine, or the online document  Command Line Interface -> Running Analysis from the Android* System

 

Native analysis with VTune Amplifier hardware event-based sampling collector (SEP) on embedded Linux systems

        Requirements: ~8 MB disk space. Low memory footprint. Support embedded Linux target. Android target is not supported.

        This command-line mode provides low-overhead, system-wide event-based sampling and counting analysis on the target system. This mode is recommended on a resource-constrained (by insufficient disk space, memory, or CPU power) embedded linux system. You need to build and install the VTune amplifier drivers, copy the SEP utilities to target and collect the performance data on target shell console.

        You can refer the following articles for more details on the SEP usage mode.
            How to Build and Install Vtune Amplifier Sampling Driver for Embedded/Mobile system
           Performance Data Collection with Sampling Collector

       For more details on this usage mode, see the SEP_Users_Guide.pdf located at <install_dir>/documentation/<locale>. For a summary option reference, enter sep –help from the command line.

 

Summary

        Below is a table to show the VTune usage model for embedded Linux and Android system. You may try use the right performance data collection mode based on the situation of your target system.

 

Remote CLI
amplxe-cl

Remote GUI
amplxe-gui

Native CLI
amplxe-cl

Native SEP
sep

Embedded Linux

Yes
Recommended

Yes
Recommended

Yes

Yes
recommended for tiny system

Android

Yes
Recommended

Yes
Recommended

Yes, through amplxe-runss.sh

No

 

Reference

How to Build and Install Vtune Amplifier Sampling Driver for Embedded/Mobile system

Performance Data Collection with Sampling Collector

How to Use Remote Collection on Intel® VTune™ Amplifier 2013 for Systems

How to do a system wide analysis using Intel® VTune™ Amplifier 2014 for Systems

Using Intel® VTune™ Amplifier 2014 for Systems on non-rooted Android* devices

Requirements for Android Features in Intel® VTune™ Amplifier 2014 for Systems

VTune Amplifier Online Documents

有关编译器优化的更完整信息,请参阅优化通知