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

Speeding up finalize

Gamsa__Ben
Beginner
1,762 Views

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 Kudos
9 Replies
AthiraM_Intel
Moderator
1,762 Views

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 Kudos
Gamsa__Ben
Beginner
1,762 Views
  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 Kudos
AthiraM_Intel
Moderator
1,762 Views

Hi,

We are forwarding this case to concerned team.

 

Thanks

0 Kudos
James_T_Intel
Moderator
1,762 Views

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 Kudos
Gamsa__Ben
Beginner
1,762 Views

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 Kudos
James_T_Intel
Moderator
1,605 Views

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



0 Kudos
JananiC_Intel
Moderator
1,489 Views

Hi,

 

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

 

Regards,

Janani Chandran

 

0 Kudos
Bernard
Valued Contributor I
1,472 Views

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 Kudos
JananiC_Intel
Moderator
1,457 Views

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 Kudos
Reply