Summary

 You have completed the Detecting and Removing Unnecessary Serialization tutorial. The following is the summary the important things to remember when using the Intel® Trace Analyzer for detecting and avoiding serialization in your application.

Step

Tutorial Recap

Key Tutorial Take-aways

1. Prepare for Analysis

Prepared for the application analysis.

Use the Event Timeline chart to see overall process activity and zoom into the trace to look at the single iteration of the application.

2. Detect Serialization

Used the Event Timeline, Function Profile, Message Profile and Imbalance Diagram to detect serialization that slows down the application.

  • Ungroup MPI functions to identify which functions slow down the application.

  • Use the Function Profile and Message Profile charts to see how much time is spent in MPI.

  • Generate the idealized trace and compare it with the original trace to get an insight on your application under the ideal circumstances and isolate problematic interactions.

3. Remove Serialization

Removed serialization by replacing the problem-causing function.

  • Generate the trace file of the revised application to see if the application spends less time on communication now.

  • In the real-world cases, it may be necessary to formulate a hypothesis regarding how the program should behave and to check this hypothesis using the most suitable chart.

4. Check Your Work

Compared the original trace file with the trace file of the revised application.

 

Next step: Generate your own trace file for analysis. Then use Intel® Trace Analyzer to detect and remove serialization in your application.