Tutorial: Detecting and Removing Unnecessary Serialization for Intel® Trace Analyzer and Collector
See
your application under the ideal circumstances and compare the original
trace file with the idealized one to isolate problematic interactions.
Create the idealized trace:
In the poisson_sendrecv.single.stf
view, select Advanced > Idealization, or use the
toolbar
button.
In the Idealization dialog box, check the idealization parameters. By default, Intel® Trace Analyzer stores the idealized trace in the examples folder under the name of the input trace file with the suffix ideal added before the .stf extension.
Click Start to idealize the trace poisson_sendrecv.single.stf.
To get more information on idealization, refer to the Idealization Dialog Box section of the Intel® Trace Analyzer Reference Manual.
Compare the original trace file with the idealized trace:
In the Imbalance Diagram dialog box, press the Open Another File button, navigate to the idealized trace poisson_sendrecv.ideal.stf and select it.
Click OK.
In the Imbalance Diagram window, click the Total Mode button and select Breakdown Mode.
You can see that MPI_Sendrecv is the most time-consuming function. The imbalance weight is displayed in pink color and comprises about 10% for the MPI_Sendrecv function. This is the time the processes spend waiting for each other.