Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)

Does remote analysis automatically install VTune on remote machine?

GAnthony_R_Intel
Employee
410 Views

I've got VTune 2019 Update 1 installed on my Mac and would like to profile a program running on a remote Linux server via ssh.

Do I need to specifically install VTune on the remote linux machine? At first I thought I did, but on page 4 of the post-installation steps it mentions "the automatic installation on the remote Linux system ...". I'm thinking that it will copy over what it needs to the remote machine? Can someone confirm?

Thanks!

-Tony

 

0 Kudos
1 Reply
Ekaterina_L_Intel
410 Views

Hi Tony,

I guess your remote Linux machine doesn't have any VTune Amplifier installed so far?

In that case, when you conifgure "Remote Linux (SSH)" analysis target in the VTune Amplifier GUI "Where" pane from macOS host - it automatically installs the appropriate collectors on the target system, but does not build sampling drivers . As result you will have functional out of the box: all the software-based analysis, and hardware event-based analysis in driverless mode (i.e. via Linux Perf tool). The driverless mode has certain prerequisites and limitations: https://software.intel.com/en-us/vtune-amplifier-help-driverless-event-based-sampling-collection

If driverless mode doesn't satisfy your needs or is not supported by your Linux OS kernel, and you want to enable full-scale hardware event-based sampling analysis on remote Linux target - you need to build and load the sampling drivers manually: login as a root to your Linux target device, go to the <vtune_collector_install_dir>/sepdk/src and build & load the sampling drivers by following "Building the Sampling Driver" instructions from the https://software.intel.com/en-us/vtune-amplifier-help-building-and-installing-the-sampling-drivers-for-linux-targets. ;

Please also notice that before running SSH remote analysis from VTune on a remote Linux* system, you need to configure SSH to work in a password-less mode so it does not prompt for the password on each invocation: https://software.intel.com/en-us/vtune-amplifier-help-configuring-ssh-access-for-remote-collection

See the https://software.intel.com/en-us/vtune-amplifier-help-linux-system-setup-for-remote-analysis for more details.

Hope that helps.

Regards, Katya

 

 

0 Kudos
Reply