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

Vtune won't show memory usage properly

Allopis
Beginner
1,680 Views

Hello, 

 

I'm trying to profile a program that is initiated by a script which spans a bunch of suprocesses. When analyzing hotspots vtune sees the cpu usage in our tool:

a.png

However if I run on the same program the memory consumption analysis only memory from standard linux tools is shown. (these are programs that are directly or indirectly called by the tool).  The real memory usage is higher, but it is not seen by vtune.

What could be the problem? 

b.png

0 Kudos
7 Replies
Rahila_T_Intel
Employee
1,640 Views

Hi,


Good day to you.


Thanks for posting in Intel Communities.


To assist you better, can you get back to us with the following information:

1. CPU details along with OS details and build number

2. Sample reproducer application/code to reproduce the issue from our side

3. Exact steps/commands that you used

4. VTune version


Thanks


0 Kudos
Allopis
Beginner
1,634 Views

1.

This is the cpu I'm using:

Model name: Intel(R) Xeon(R) Gold 6258R CPU @ 2.70GHz
Stepping: 7
CPU MHz: 2699.999
BogoMIPS: 5399.99
Hypervisor vendor: VMware
Virtualization type: full
L1d cache: 32K
L1i cache: 32K
L2 cache: 1024K
L3 cache: 39424K
NUMA node0 CPU(s): 0-7

It is a virtual machine in a VMWare environment

OS:

Red Hat Enterprise Linux Workstation release 7.8 (Maipo)

2.  The real code is very big and I cannot find a small example code that reproduces the problem

3. Make a project, run my program in memory consumption mode

4. VTune 2023.2.0.49485

 

Thanks in advance

0 Kudos
Rahila_T_Intel
Employee
1,626 Views

Hi,


Thanks for your reply. 


To assist you better, we would need a sample reproducer, i.e., the application you're running(if you're not trying the in-built samples).


Could you please share the sample reproducer to check the issue from our side?


Thanks


0 Kudos
Allopis
Beginner
1,574 Views

Hi Rahila,

 

I tried creating a small reproducible test case but I couldn't manage unfortunately.

 

 

0 Kudos
Rahila_T_Intel
Employee
1,543 Views

Hi,


For Community support we would require a minimum reproduction sample code specific to your issue that provides us with the most relevant background information for triaging your issue further. As you're having issue creating one, we have shared the procedure for uploading large files through private messages (Please note that this link expires in 24 hours)


In case you require privacy, and unable to share the issue / sample with us publicly, please submit a ticket for Priority support so that your application can be handled with the required data protection and privacy regulations.


Thanks


0 Kudos
Rahila_T_Intel
Employee
1,490 Views

Hi,


We haven't heard back from you. Could you please give us an update?


Thanks


0 Kudos
Rahila_T_Intel
Employee
1,430 Views

Hi,


We have not heard back from you.

We assume that your issue is resolved. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.


Thanks


0 Kudos
Reply