Intel® DevCloud
Help for those needing help starting or connecting to the Intel® DevCloud
823 Discussions

vtune on devcloud computing nodes (gpu) ?

LaurentPlagne
Novice
492 Views

I use vtune for gpu on devcloud computing nodes and I obtain warnings on the the configuration preventing full-compute analysis.

vtune: Error: Full Compute set can be collected only when multiple runs are allowed. See Allow Multiple Runs or Multiplex Events help topic for more details.
vtune: Warning: Access to /proc/kallsyms file is limited. Consider changing /proc/sys/kernel/kptr_restrict to 0 to enable resolution of OS kernel and kernel module symbols.

vtune -collect gpu-hotspots -knob collect-memory-bandwidth=true ./main

 

vtune: Warning: Measuring peak bandwidth is enabled by default. Accurate peak DRAM bandwidth is important for further analysis but it involves launching a small benchmark which leads to increased collection time. If you would like to omit it, disable this feauture in custom analysis.
vtune: Warning: Analysis result will not show the detailed GPU Utilization. See GPU Utilization help topic for more details.
Detailed GPU utilization collection requires driver trace-points to be enabled in the driver kernel module. Make sure the kernel configuration option is set as CONFIG_DRM_I915_LOW_LEVEL_TRACEPOINTS=

 

Is there a way to fully utilize vtune on devcloud ?

0 Kudos
1 Solution
ArunJ_Intel
Moderator
480 Views

Hi LaurentPlagne,

 

Regarding your first error "vtune: Error: Full Compute set can be collected only when multiple runs are allowed. See Allow Multiple Runs or Multiplex Events help topic for more details." This is occurring because " full-compute" metric group of vtune gpu-hotspots by default requires allow-multiple-runs. This is by design of vtune and not actually an issue with devcloud compute node. You could use the below command for vtune report collection.

 

vtune -collect gpu-hotspots -knob characterization-mode=full-compute -allow-multiple-runs -app-working-dir . -- ./main 

 

Remaining warnings are related to kernel and kernel module symbols these are occurring because  performance analysis of the kernel and system libraries are not permitted in devcloud nodes. However this wont be a major issue as you would be able to collect all the stats of your app and also will be able to successfully generate the vtune report despite of these warnings.

 

Thanks

Arun Jose

 

View solution in original post

3 Replies
ArunJ_Intel
Moderator
481 Views

Hi LaurentPlagne,

 

Regarding your first error "vtune: Error: Full Compute set can be collected only when multiple runs are allowed. See Allow Multiple Runs or Multiplex Events help topic for more details." This is occurring because " full-compute" metric group of vtune gpu-hotspots by default requires allow-multiple-runs. This is by design of vtune and not actually an issue with devcloud compute node. You could use the below command for vtune report collection.

 

vtune -collect gpu-hotspots -knob characterization-mode=full-compute -allow-multiple-runs -app-working-dir . -- ./main 

 

Remaining warnings are related to kernel and kernel module symbols these are occurring because  performance analysis of the kernel and system libraries are not permitted in devcloud nodes. However this wont be a major issue as you would be able to collect all the stats of your app and also will be able to successfully generate the vtune report despite of these warnings.

 

Thanks

Arun Jose

 

LaurentPlagne
Novice
469 Views

Thank very much for your answer.

Laurent

ArunJ_Intel
Moderator
466 Views

Thanks LaurentPlagne for the confirmation. We wouldn't be monitoring this thread anymore. Please feel free to raise a new thread in case of further issues.


Happy to help

Arun


Reply