Quantcast
Channel: Intel® Software - Intel® VTune™ Profiler (Intel® VTune™ Amplifier)
Viewing all 1574 articles
Browse latest View live

Update 4 not working in VS 2019 16.1.6

$
0
0

Running Windows 10 version 1903 (build 18362/239), Microsoft Visual Studio 2019 version 16.1.6.  I installed Intel Parallel Studio XE 2019 Update 4.  Click the VTune button on the Visual Studio menu bar. A VTune window pops up but only the menu bar and window border are drawn. If I minimize the Visual Studio app and then maximize, the VTune client window shows black. Resizing the VTune window does not help. Screen capture attached to this message. Some windows error messages in the dxdiag report are listed at the end of this message. These are not helpful for diagnosing. The behavior occurs on my desktop computer and on my Microsoft Surface Book computer (same OS/VS/VTune on these computers). Is this a known problem? If so, when is a fix available? Thank you.

Windows Error Reporting:
+++ WER0 +++:
Fault bucket 125730739576, type 5
Event Name: PerfWatsonVS12Data
Response: Not available
Cab Id: 0

Problem signature:
P1: PerfWatsonTcdb
P2: 0
P3: 0
P4: 0
P5: 0
P6: 
P7: 
P8: 
P9: 
P10: 

+++ WER1 +++:
Fault bucket 125730739576, type 5
Event Name: PerfWatsonVS12Data
Response: Not available
Cab Id: 0

Problem signature:
P1: PerfWatsonTcdb
P2: 0
P3: 0
P4: 0
P5: 0
P6: 
P7: 
P8: 
P9: 
P10: 


Hotspot analysis shows Unknown module for a Java application

$
0
0

Hello, I am trying to profile a Java application that has been run using a jar.

I was interested in hotspots but I see issues in the result the profiler pops up -

Top Hotspots
Function                    Module     CPU Time
--------------------------  ---------  --------
[Outside any known module]  [Unknown]    6.482s
func@0x4bc640               libjvm.so    0.168s
func@0x63f1a0               libjvm.so    0.134s
func@0x18ece1               libc.so.6    0.130s
func@0x5ac290               libjvm.so    0.118s
[Others]                    N/A          2.738s
 

I do see a lot of Warning as well -

amplxe: Warning: Hardware collection of CPU events is not possible on this system. Microarchitecture performance insights will not be available.
amplxe: Collection started. To stop the collection, either press CTRL-C or enter from another console window: amplxe-cl -r /home/test/r004hs -command stop.
amplxe: Warning: Cannot stop posix timer: __NR_timer_settime() system call returned -1.
amplxe: Collection detached.
amplxe: Collection stopped.
amplxe: Using result path `/home/test/r004hs'
amplxe: Executing actions 19 % Resolving information for `libnet.so'
amplxe: Warning: Cannot locate debugging information for file `/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/libnet.so'.
amplxe: Executing actions 19 % Resolving information for `libnio.so'
amplxe: Warning: Cannot locate debugging information for file `/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/libnio.so'.
amplxe: Executing actions 20 % Resolving information for `libc-dynamic.so'
amplxe: Warning: Cannot locate debugging information for file `/opt/intel/vtune_amplifier_2019.3.0.590814/lib64/pinruntime/libc-dynamic.so'.
amplxe: Warning: Cannot locate debugging information for file `/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/libjava.so'.
amplxe: Executing actions 21 % Resolving information for `libjvm.so'
amplxe: Warning: Cannot locate file `/tmp/libnetty_transport_native_epoll_x86_646067732671486024415.so (deleted)'.
amplxe: Executing actions 21 % Resolving information for `libnetty_transport_na
amplxe: Warning: Cannot locate debugging information for file `/lib/x86_64-linux-gnu/libc.so.6'.
Cannot match the module with the symbol file `/lib/x86_64-linux-gnu/libc-2.27.so'. Make sure to specify the correct path to the symbol file in the Binary/Symbol Search list of directories.
amplxe: Executing actions 21 % Resolving information for `libpthread.so.0'
amplxe: Warning: Cannot locate debugging information for file `/lib/x86_64-linux-gnu/libpthread.so.0'.
amplxe: Executing actions 22 % Resolving information for `libpthread.so.0'
amplxe: Warning: Cannot locate debugging information for file `/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so'.
amplxe: Warning: Cannot locate debugging information for file `/opt/intel/vtune_amplifier_2019.3.0.590814/lib64/libtpsstool.so'.
 

I am using OpenJDK-8 on Ubuntu 18.04 on a VM in VmWare ESXI. I understand that hardware events might not be captured at all. 

Please help me understand any lacking in the setup. Is there any general Java profiling guide I should follow?

 

Thanks

Update 4 not launch

$
0
0

1. Than i try launch VTune Amplifier 2019, few minutes I see

In next this screen hides and it all, nothing happened. In Task manager i see:

 

2. In VS 2019 16.2.0 Launch not work

 

3. Other menu items ignore click, nothing happened too.

SIGSEGV on amplxe-runss

$
0
0

Hi,

We have a Linux box that I need to profile remotely. But it is failing to run `amplxe-runss -V` with a SIGSEGV (null pointer).

/var/mnt/disk0/misc/vtune_amplifier_2019.4.0.597835/bin64 # ./amplxe-runss -V
log4cplus:ERROR No appenders could be found for logger (perfrun.perfcollector).
log4cplus:ERROR Please initialize the log4cplus system properly.
amplxe: Fatal error: Unknown critical error
Aborted
 

Running under strace, the last lines before the SIGSEGV:

stat("/var/mnt/disk0/misc/vtune_amplifier_2019.4.0.597835/bin64/sep", {st_mode=S_IFREG|0755, st_size=381800, ...}) = 0            
uname({sysname="Linux", nodename="probe654", ...}) = 0                                                             
uname({sysname="Linux", nodename="probe654", ...}) = 0                                   
uname({sysname="Linux", nodename="probe654", ...}) = 0                                                                
mmap(NULL, 528384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc9e7bd9000                     
write(2, "amplxe: Fatal error: Unknown cri"..., 44amplxe: Fatal error: Unknown critical error                   
) = 44                                                                                                             
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=NULL} ---      

Please find the crash info attached

 

The environment is a Linux from scratch 

/var/mnt/disk0/misc/vtune_amplifier_2019.4.0.597835/bin64 # uname -a
Linux probe654 4.14.33 #1 SMP PREEMPT Wed Jul 24 05:49:14 IST 2019 x86_64 GNU/Linux

model name      : Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz

 

Any idea what can I do?

 

Many thanks

André Tupinambá

 

AttachmentSize
Downloadapplication/octet-streamcrash.tar.xz1.18 KB

VS2019 integration

$
0
0

Hi,

I dowloaded the trial version of Intel Vtune Amplifier 2019 and followed all the steps in the link below to integrate it to VS2019 : 

https://software.intel.com/en-us/vtune-amplifier-help-microsoft-visual-s...

Unfortunately, I can't get Vtune Amplifier in the tools menu. Doesn't the trial version offer this integration or is it not compatible with VS2019?

Could you please help us with this problem ?

Thanks.

vtune amplifier 2019 update5 platform install issue on Ubuntu 19.04

$
0
0

Base installation worked fine, collector worked fine (although an unmet/unadvertised required "dstat" package had to be manually installed). But "server" appears to have a bit of a showstopper.
 

superMkhb:/opt/intel/vtune_amplifier/vpp/server>sudo apt-add-repository ppa:webupd8team/java
[sudo] password for khb: 
 The Oracle JDK License has changed for releases starting April 16, 2019.

The new Oracle Technology Network License Agreement for Oracle Java SE is substantially different from prior Oracle JDK licenses. The new license permits certain uses, such as personal use and development use, at no cost -- but other uses authorized under prior Oracle JDK licenses may no longer be available. Please review the terms carefully before downloading and using this product. An FAQ is available here: https://www.oracle.com/technetwork/java/javase/overview/oracle-jdk-faqs.html

Oracle Java downloads now require logging in to an Oracle account to download Java updates, like the latest Oracle Java 8u211 / Java SE 8u212. Because of this I cannot update the PPA with the latest Java (and the old links were broken by Oracle).

For this reason, THIS PPA IS DISCONTINUED (unless I find some way around this limitation).....
sudo apt-get install oracle-java8-installer
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package oracle-java8-installer is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or....

 

Aside from downgrading the OS, or finding another system for this experiment is there an easy path forward? Is there some reason why we're sticking with java8?  As this u19 system is a KVM host for several experimental VMs, I did briefly try to install under ubuntu 16 ... but the base install (the step directly after tar xvzf *.tar.gz) fails with "unsupported CPU" ... doubtless because when I set up the VM I didn't specially configure it for vtune ...

VTune Amplifier and Thread Advisor 2019U4 need library to run CentOS 7.6

$
0
0

I have switched to using Intel Cluster Studio XE tools 2019 Update 4 but now both Vtune Amplifier and Thread Advisor refuse to run claiming that an X11 library is missing. 

mtml@llin763[pts/1]demo $ amplxe-gui: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory

This is a CentOS Linux release 7.6.1810 (Core)

I do not have this problem with 2019 Update 1  . This library is missing from CentOS 7u6 but it is present in CentOS 6. 

Any suggestions?Thanks 

Michael

Correlating VTune and PAPI outputs

$
0
0

I'm using event based sampling to collect performance metrics (mainly cache misses) for a simple matrix multiplication code. However, the gathered values from Vtune are drastically different from the values i gathered using PAPI (same code, with same matrix dimensions).

I'm running the program on a single core which i have exclusive access to. Is there some detail that i'm missing here?

Example: for a simple matrix multiplication of 1K x 1K elements,

- using vtune: amplxe-cl -collect-with runsa -knob event-config=MEM_LOAD_RETIRED.L1_MISS matmul

Gives me the result: Hardware Event Type       Hardware Event Count:Self  Hardware Event Sample Count:Self  Events Per Sample
------------------------  -------------------------  --------------------------------  -----------------
MEM_LOAD_RETIRED.L1_MISS                     100003                                 1  100003

- and the same code using papi with the event PAPI_L1_TCM:

Event 0 count = 74
Time taken: 3.822580 seconds
GFLOPS = 0.523207
 

- and again with papi low level API using the the event MEM_LOAD_RETIRED.L1_MISS

Event count 30332
Time taken: 3.077956 seconds
GFLOPS = 0.649782

 

 

Some papi forum posts mentioned that vtune gathers system-wide metrics, while papi measures process-based metrics. Even if this was true, the drastic difference still doesn't make sense to me.

Any help/guidance is appreciated!

Thanks!


VTune collection error related to pin

$
0
0

Hi,

I am getting the following error when doing a Vtune collection. I have tried using Vtune versions 2019 updates 4 and 5.  

amplxe: Error: [Instrumentation Engine]: Source/pin/elfio/img_elf.cpp: ProcessSectionHeaders: 809: unknown section type 0x11 for sec[5376,.group]

OS - Ubuntu 18.04, Linux kernel 5.1.12

Appreciate any help to fix this.

Thanks,

GB

Can't import custom data

$
0
0

Hi, I'm trying to use VTune to view some google json trace data. I've custom converted it into csv which looks like this (truncated for easy reproduction):

name,start_tsc.UTC,end_tsc,pid,tid
E:/edward/dev17.5/hfs/houdini/help/vexhelp,2019-08-26 16:50:14.879000,2019-08-26 16:51:32.232000,,
E:/edward/dev17.5/hfs/houdini/help/command.help,2019-08-26 16:50:14.878000,2019-08-26 16:50:40.690000,,
E:/edward/dev17.5/hfs/houdini/help/exprhelp,2019-08-26 16:50:14.879000,2019-08-26 16:50:39.200000,,
E:/edward/dev17.5/hfs/houdini/help/config.help,2019-08-26 16:50:14.880000,2019-08-26 16:50:16.405000,,

 From the command line I've tried:

amplxe-cl -import path_to_file.csv

But all I can get is this:

amplxe: Importing a new result 100 % done
amplxe: Using result path `C:\Users\edward\Documents\Amplifier XE\Projects\dev17.5 build\r012'
amplxe: Executing actions 50 % done
amplxe: Error: 0x4000002a (Database interface error) -- Precompute error

What am I missing?

Unable to find the tool vtbwrun in VTune

$
0
0

Hi all,

We were trying to monitor the memory activities to check the Number of Memory Partial Writes and the ditribution of memory accesses among the Memory Channels. We came across vtbwrun tool (which is included in the Intel® VTune™ Performance Analyzer), however on installing the VTune, we are unable to find the tool.

If someone could point out to the tool or any other tool to monitor activities would be really helpful.

Thank you!

 

Error: The following events cannot be collected

$
0
0

Hi,

I'm running VTune Amplifier 2019.5.0.601413 with command line and get the error while trying to collect uarch-exploration or memory-access. Here's the full output:

amplxe: Warning: To profile kernel modules during the session, make sure they are available in the /lib/modules/kernel_version/ location.
amplxe: Error: The following events cannot be collected: MEM_LOAD_UOPS_LLC_MISS_RETIRED.LOCAL_DRAM,MEM_LOAD_UOPS_LLC_MISS_RETIRED.REMOTE_DRAM,MEM_LOAD_UOPS_LLC_MISS_RETIRED.REMOTE_FWD,MEM_LOAD_UOPS_LLC_MISS_RETIRED.REMOTE_HITM,MEM_LOAD_UOPS_RETIRED.L1_MISS. Consider removing the events from the collection, loading the VTune Amplifier sampling driver using the root credentials, or updating the OS kernel.
amplxe: Collection failed.

I'm running from native Ubuntu 14.04 on an ivy bridge CPU. The above hardware events, as described in the error, can be collected using PCM library though. I was able to modify those control registers and read out contents of the counters.

Could you please help? Thanks! 

Mark

Vtune 2019 update 2 - 'amplxe-cl -collect hpc-performance' return 0.0% of Effective CPU Utilization

$
0
0

Hello,

My Vtune installation issues suspicious behavior on skylake processors.

  • SEP driver informations :

Compilation command line :

# ./build-driver -pu -ni

Version :

Sampling Enabling Product version: 5.6  built on Jan 26 2019 19:14:20
SEP User Mode Version: 5.6
SEP Driver Version: 5.6
PAX Driver Version: 1.0
Platform type: 111
CPU name: Intel(R) Xeon(R) Processor code named Skylake
PMU: skylake_server
Driver configs: Non-Maskable Interrupt
Copyright(C) 2007-2018 Intel Corporation. All rights reserved.

 

  • amplxe-cl  output

# amplxe-cl -collect hpc-performance dd if=/dev/zero of=/dev/null count=1000000

[...]

Effective CPU Utilization: 0.0%
 | The metric value is low, which may signal a poor logical CPU cores
 | utilization caused by load imbalance, threading runtime overhead, contended
 | synchronization, or thread/process underutilization. Explore sub-metrics to
 | estimate the efficiency of MPI and OpenMP parallelism or run the Locks and
 | Waits analysis to identify parallel bottlenecks for other parallel runtimes.
 |
    Average Effective CPU Utilization: 0.000 out of 48

 

  • amplxe-self-checker output

# amplxe-self-checker.sh

[...]

HW event-based analysis check (Intel driver)
Example of analysis types: Hotspots with knob sampling-mode=hw, HPC Performance Characterization, etc.
    Collection: Ok
    Finalization: Ok
    Report: Fail
amplxe: Error: 0x40000024 (No data) -- No data is collected. Possible reasons:

HW event-based analysis check (Intel driver)
Example of analysis types: Microarchitecture Exploration
    Collection: Ok
    Finalization: Ok
    Report: Fail

HW event-based analysis with uncore events (Intel driver)
Example of analysis types: Memory Access
    Collection: Ok
    Finalization: Ok
    Report: Fail

 

Thank you

Florian

Cannot cancel file dialog when opening a "RECENT RESULTS" file.

$
0
0

Running Windows 10 Pro version 1903. Running Microsoft Visual Studio 2019 version 16.2.4. Intel Parallel Studio XE 2019 Update 4 was added as an extension. I launched VTune Welcome Page from the menu bar icon. The window that usually contains "Configure Analysis..." was blank. I decided to open a file in the RECENT RESULTS list. An Open file dialog is launched asking me to select a VTune results file, which indicates the results file cannot be found (it does exist). I press the Cancel button without navigating away from the default folder the dialog uses. The dialog closes but then it relaunches itself. Cancel again, dialog closes and launches again (etc.).

I then navigated to the VTune results file and opened it. Closed the file. Launched VTune Welcome page again from the menu bar icon. This time the "Configure Analysis..." shows up in the window. When I click on the RECENT RESULTS list on any file, that file is found and opened (no file dialog this time).

I can now run the tool, but just posting the scenario in case other folks run into the same problem.

VPP platform overhead...

$
0
0

During a recent webinar, I believe I heard it claimed that there's less than 5% overhead for running the collector. Just how is that computed? There's whatever the impact is running a workload after "vpp start" and that does seem relatively minimal (I say seems, because I'm using a desktop not a dedicated server) but ...

  1. Just what resources are being used (large memory array? temp file(s)??). 
  2. Just what is the impact of vpp stop ? It seems to spawn a very CPU intensive python task ... which runs for several minutes ... that seems likely to have noticable impact...
  3. Similarly for vpp upload (is that "just" a ftp (scp?) transfer? 

I would like to be able to deploy vpp to production servers ... but I expect significant pushback if there's periodic impact to running services (obviously, we'll have to do our own measurements) ... if there are ways to mitigate impact (is there a vpp stop internal step which would just store the file, and allow for processing (whatever is going on) to be done off the SUT? Can it be configured to do its work with lower impact (perhaps taking longer to execute ... if/when we're in production it won't matter how long it takes for the results to become available...)

is there some way to apply vpp to itself? that is to use another instance to monitor what's going on during the vpp stop? That might provide compelling evidence of minimal impact ... if, it is, in fact, minimal during this phase of processing.

ON an unrelated note, I'm more than a little disappointed that I didn't get any responses from my Ubuntu19 installation question ...


vpp collector: Throughput Metrics...

$
0
0

My reports say "Missing bounds information....collector is missing information about Max Memory Bandwidth) to collect this data reinstall and rerun the data collector" as this is a fresh installation (CentOS 7.6) how does this omission come about?

vpp collector: zero length collection file?

$
0
0

vpp: aliased to /opt/intel/vtune_amplifier/vpp/collector/vpp-collect

dhcp-10-1-208-197:/home/khb>vpp start
Gathering Platform Profiler collection data. Run vpp-collect stop to finish the collection.
dhcp-10-1-208-197:/home/khb>vpp stop
Collection stopped.
Collection results saved in /home/khb/dhcp-10-1-208-197_20190911-1236.tar.gz.
dhcp-10-1-208-197:/home/khb>ls -lt *.gz
-rw-r--r--. 1 khb khb 0 Sep 11 13:11 dhcp-10-1-208-197_20190911-1236.tar.gz

why would this happen? I did drive the SUT to a load of 60 and swap space was minimal .... 

'No data to show' after profiling

$
0
0

Hi.

I'm using VTune Amplifier of RHEL 7.2, installed on VirtualBox VM, and trying to analyse C++ application.
VTune attaches to the process (by pid), starts data collection, but when I run test scenario and press 'Stop', it shows me 'No data to show. The collected data is not sufficient.' message on Summary page, and no any information about functions called, their execution time on other pages.

Can you please tell me, why this could happen and how can I fix it? Thanks.

Rebuild and Install the Kernel for GPU Analysis in OpenSuse

$
0
0

I am trying to profile an MPI+CUDA application using Intel VTune Amplifier on OpenSuse Leap 15.0. However when I pass the -collect option as "cpugpu-concurrency" I am facing an error as below:

amplxe: Warning: Collection of GPU usage events cannot be enabled. i915 ftrace events are not available.
amplxe: Warning: Collection of GPU usage events cannot be enabled. i915 ftrace events are not available.
amplxe: Error: Ftrace is already in use. Make sure to stop previous collection first.
amplxe: Collection failed.
amplxe: Fatal error: Unknown critical error
amplxe: Internal Error
 

I checked the CONFIG_DRM_I915_LOW_LEVEL_TRACEPOINTS option in the config file under boot directory and the following options were not set. 

#
# drm/i915 Debugging
#
# CONFIG_DRM_I915_WERROR is not set
# CONFIG_DRM_I915_DEBUG is not set
# CONFIG_DRM_I915_SW_FENCE_DEBUG_OBJECTS is not set
# CONFIG_DRM_I915_SW_FENCE_CHECK_DAG is not set
# CONFIG_DRM_I915_SELFTEST is not set
# CONFIG_DRM_I915_LOW_LEVEL_TRACEPOINTS is not set
# CONFIG_DRM_I915_DEBUG_VBLANK_EVADE is not set

Can anyone kindly provide the steps to modify the config file and rebuild the kernel for Opensuse Leap 15.0?

Thanks in advance.

 

Intel VTune Amplifier 2019 (update6) cannot regonize the proccessor...

$
0
0

Hello guys,

Once I switch to HPC, Microarchitecture Exploration or Memory Access, I'm not able to run it (play button goes grey). Red text appears after description of selected profiling section (Screenshot_2.png). 
Other case is when I'm running Hotspot profiling, Vtune Amplifier crashes. I managed to get part of the log before crashing (Screenshot_3.png). I would really appreciate your help.

OS: Windows Pro
Processor: Intel i7 7700 (3.6 GHz)

All the best,
Corbo Azer

Viewing all 1574 articles
Browse latest View live


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