Analyzers
Support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
4640 Discussions

Using Vtune on Ubuntu guest of Unraid server (KVM hypervisor)

Yotty
Beginner
578 Views

HI,

 

Has anyone managed to run vTune to profile applications running on Ubuntu which is hosted on Unraid as a VMM.

Thanks in advance if you can help, details of the problem are below.
Yotty



Unraid uses KVM as the hypervisor, but I can't even get a basic hotspots analysis to run which should work in user mode sampling. I get this message:-
"Hotspots analysis with User-Mode Sampling is not supported on this platform. See the Release Notes for software/hardware requirements. You may also try Hotspots analysis in Hardware Event-Based Sampling mode."
If I go to the Memory Access analysis, I get the following messages....

--- This analysis type is not applicable to the system because VTune Profiler cannot recognize the processor. If this is a new Intel processor, please check for an updated version of VTune Profiler. If this is an unreleased Intel processor, please contact Online Service Center for an NDA product package.
--- This analysis type is not applicable to the current machine microarchitecture.
--- Cannot enable Hardware Event-based Sampling due to a problem with the driver (sep*/sepdrv*). Check that the driver is running and the driver group is in the current user group list. See the "Sampling Drivers" help topic for further details.

 

However, the sampling drivers are running..

$ ./insmod-sep -q
pax driver is loaded and owned by group "vtune" with file permissions "660".
socperf3 driver is loaded and owned by group "vtune" with file permissions "660".
sep5 driver is loaded and owned by group "vtune" with file permissions "660".

socwatch driver is loaded and owned by group "vtune" with file permissions "660".

vtsspp driver is loaded and owned by group "vtune" with file permissions "660".

I think the problem is somewhere with the hypervisor, because of the vtune-self-checker.sh results....

$ ./vtune-self-checker.sh
Intel(R) VTune(TM) Profiler Self Check Utility
Copyright (C) 2009-2020 Intel Corporation. All rights reserved.
Build Number: 616728


An unknown failure has occurred. Attempt the action again or contact Intel technical support.

Log location: /tmp/vtune-tmp-mlawlor/self-checker-2021.05.19_12.02.56/log.txt

And the log points to:-

/opt/intel/oneapi/vtune/2021.3.0/bin64/amplxe-runss --context-value-list
Exception: 'utf-8' codec can't decode byte 0x88 in position 473: invalid start byte


If I run that command, I get:-

/opt/intel/oneapi/vtune/2021.3.0/bin64$ /opt/intel/oneapi/vtune/2021.3.0/bin64/amplxe-runss --context-value-list
targetOS: Linux
OS: Linux
OSBuildNumber: 0
OSBitness: 64
RootPrivileges: false
isPtraceScopeLimited: true
isCATSupportedByCPU: false
isL3MonitoringSupportedByCPU: false
isTSXAvailable: true
isPTAvailable: false
isHTEnabled: true
fpgaOnBoard: None
omniPathOnBoard: None
genArchOnBoard: 0
pciClassParts:
isSGXAvailable: false
LinuxRelease: 5.4.0-73-generic
is3DXPPresent: false
is3DXP2LMMode: false
is3DXPAppDirectMode: false
IsNUMANodeWithoutCPUsPresent: false
Hypervisor: �

PerfmonVersion: 2
isMaxDRAMBandwidthMeasurementSupported: true




 

0 Kudos
8 Replies
AthiraM_Intel
Moderator
533 Views

Hi,


Thanks for reaching out to us.


We are checking on it internally, will get back to you soon.


From the log we could see that the Hypervisor is not detected.

Could you please share the cpu information using the below command.


lscpu


Also make sure that the VM installation is done without any failure.


Thanks


Yotty
Beginner
527 Views

Thanks for getting back to me,

 

It is.....

/opt/intel/oneapi/vtune/2021.3.0/bin64$ lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 24
On-line CPU(s) list: 0-23
Thread(s) per core: 2
Core(s) per socket: 12
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 85
Model name: Intel(R) Xeon(R) Silver 4114 CPU @ 2.20GHz
Stepping: 4
CPU MHz: 2194.922
BogoMIPS: 4389.84
L1d cache: 32K
L1i cache: 32K
L2 cache: 1024K
L3 cache: 14080K
NUMA node0 CPU(s): 0-23
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology cpuid pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single pti ssbd ibrs ibpb stibp fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves arat umip pku ospke md_clear

AthiraM_Intel
Moderator
499 Views

Hi,


Thanks for sharing the details.

We are checking on it internally, will get back to you soon with an update.



Thanks.


Yotty
Beginner
489 Views

Thanks, I continue to monitor the thread, it's still a live issue for me, so I await updates with keen interest.

Yotty
Beginner
413 Views

Even an update that says whether you were able to reproduce the problem or haven't had time to look at it yet would be helpful.

AthiraM_Intel
Moderator
397 Views

Hi,


Sorry for the delay.

On checking internally, we came to know that unraid server is not supported by Vtune.


You could give a try in any of the supported systems.

For more details of the vtune system requirements refer https://software.intel.com/content/www/us/en/develop/articles/vtune-profiler-system-requirements.htm...


We are sorry for the inconvenience.

If you have any further issue, please let us know.


Thanks.


AthiraM_Intel
Moderator
365 Views

Hi,


We have not heard back from you. Could you please give us an update?



Thanks


AthiraM_Intel
Moderator
353 Views

Hi,


We have not heard back from you, so we will close this inquiry now. If you need further assistance, please post a new question.



Thanks


Reply