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

VTune running out of memory when finalizing results

metricv
Novice
1,533 Views

VTune is running out of (256G of) memory when finalizing two 10-minute traces with around 100MB of raw data.

 

Three machines involved:

"target": Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz, 16GB of RAM. Ubuntu Server 22.04 LTS. Intel VTune 2023.1.0.625246

"host": AMD Ryzen 7950X, 64GB of RAM. Ubuntu Desktop 23.04. Intel VTune 2023.1.0.625246

"helper": A node in an HPC cluster, Intel(R) Xeon(R) Platinum 8260 CPU @ 2.40GHz, 256GB memory requested. Springdale Linux. Intel VTune 2022.4.0

 

The first trace is collected directly on the "target" with CLI: 

 

vtune -collect uarch-exploration -knob collect-memory-bandwidth=true -analyze-system -duration=600 -data-limit=2500 -r <dir>

 

VTune is installed with the OneAPI installer. It ran out of memory when finalizing the trace. The target had 16GB of memory.

 

The second trace is collected with GUI on the "host," configured to "Remote Linux (SSH)" into  "target," with VTune profiler deployed by the GUI into /tmp. Microarchitecture exploration, 2500MB data limit, and manually stopped around 10 minutes. It ran out of (64GB) memory on the "host" machine after collection is stopped and finalizing the results, and was killed by the kernel.

 

The second trace was copied onto "helper" and finalized with "vtune -finalize --finalization-mode=full -r <result>". It ran out of 256GB of memory. Changing to finalization mode fast did not help.

 

In all the cases, VTune memory consumption grow steadily until maximum, and stuck on "vtune: Executing actions 25 % Loading 'system-wide.perf' file"

 

I can share the trace file if someone is interested in recreating the error.

 

0 Kudos
1 Solution
metricv
Novice
1,503 Views

Update: Finalization was completed with 280GB of RAM consumption. Why does it require so much RAM?

View solution in original post

0 Kudos
5 Replies
metricv
Novice
1,520 Views

Some broad metrics collected from the "helper" machine. 

metricv_0-1689276430449.png

metricv_1-1689276464114.png

There are write operations, but the result directory did not grow in size. 

0 Kudos
metricv
Novice
1,504 Views

Update: Finalization was completed with 280GB of RAM consumption. Why does it require so much RAM?

0 Kudos
RajashekarK_Intel
1,428 Views

Hi, Thanks for posting in Intel communities.

 

We would like to know more information on this,

1. Is it the case with other analysis too?

2. Do you observe the same with matrix sample under VTune samples with Microarchitecture analysis.

/opt/intel/oneapi/vtune/latest/samples/en/C++/matrix

3. Requesting to share your sample reproducer to replicate this from our end.

 

Regards,

Rajashekar

 

 

0 Kudos
metricv
Novice
1,417 Views

Hi Rajashekar,

 

Thank you for the response!

 

1. I did not try other kinds of analysis other than microarchitectural exploration.

2. I did not try profiling other workloads. The issue seems to be going away after a reboot of the target machine, so I cannot replicate it now. Most likely, some workload on the target system was causing this, and it's gone after a reboot.

3. Please use this link and request access: https://drive.google.com/file/d/1uVXjlnvqW-3ljpIe8CZCy1B3BLrH92eQ/view?usp=sharing

0 Kudos
RajashekarK_Intel
1,405 Views

Hi @metricv ,

 

Glad to know that your issue is resolved after the reboot. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.

 

Regards,

Rajashekar

 

0 Kudos
Reply