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

Speeding up finalize

Gamsa__Ben
초급자
3,000 조회수

Hi.  I'm wondering if there are any tricks to speeding up finalization.  My jobs usually run for 4-6 hours, of which maybe one or two hours has profiling enabled.  However, finalization can take 2-4 days.  I've tried limiting the sampling rate and the total data stored, but even then it still usually takes 10x longer to finalize than to profile (I have this sense that this didn't use to be the case when I was last using vtune a few years ago; perhaps I was using an older version?).  I'm currently using VTune  2019.  If it will make a big difference I could try to get it upgraded, but the tools are managed centrally so that's not always easy.  I'm hoping there are some things I can do to bring the finalization time down without losing too much in the way of profiling coverage.

Thanks,

Ben

 

0 포인트
9 응답
AthiraM_Intel
중재자
3,000 조회수

Hi,

Thanks for reaching out to us.

Could you please share the following additional information :

1. Which analysis you are trying?

2. Which application you are using?

 

 

 

0 포인트
Gamsa__Ben
초급자
3,000 조회수
  1. I’m just doing regular hotspot analysis
     
  2. As for which application, I’m not sure if you are asking which vtune application (I’m not aware of more than one), but you are asking that, it’s “ample-cl“.
0 포인트
AthiraM_Intel
중재자
3,000 조회수

Hi,

We are forwarding this case to concerned team.

 

Thanks

0 포인트
James_T_Intel
중재자
3,000 조회수

Can you provide details of the system on which you are running, how you are running your collection, and what application you are analyzing?

0 포인트
Gamsa__Ben
초급자
3,000 조회수

I'm not sure exactly what kind of information you are looking for.

  • The system is a redhat 6 linux system with a xeon processor using VTune 2019
  • The command is usually run like this "amplxe-cl --start-paused --collect hotspots <command>"
    • The program internally turns on and off profiling around the specific code that needs to be profiled
  • The application being profiled is a compute-intensive CAD tool
0 포인트
James_T_Intel
중재자
2,843 조회수

I apologize for this being dropped. Here are a few suggestions for improving your finalize performance:



0 포인트
JananiC_Intel
중재자
2,727 조회수

Hi,

 

Has the solution provided by James helped? Do you have any updates?

 

Regards,

Janani Chandran

 

0 포인트
Bernard
소중한 기여자 I
2,710 조회수

I observed that,  the finalization time is highest when the excessive callstacks information is recorded. If you do not need collecting the sampled threads stacks you may omit it and gain very fast (in my case: circa 25-35 seconds) finalization time. Of course the stacks I must reconstruct  "manually" by using IDA disassembler. In order to decrease the amount of collected samples you may enable only user mode hardware events collection.

 

P.s.

         >>>However, finalization can take 2-4 days.>>>

 

How large is the results(*.perf or *.tb7) file?

0 포인트
JananiC_Intel
중재자
2,695 조회수

Hi,


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


Regards,

Janani Chandran



0 포인트
응답