Visualization tool of the T-application execution trace Kovalenko M.R., PSI RAS, PSTA’2006 Pereslavl-Zalesskij, PSI RAS, 2006-10-25 25.10.2006
Objects of development. Tasks accomplished using T-visualizator. Take and examine t-application execution trace Illustration of T-application computation runtime Data collecting for execution analysis, debugging and tuning of T-application OpenTS studying tool 25.10.2006
Architecture of T-visualizator OpenTS feature—“vistrace”—extension component for taking execution trace GUI component—visualizator of collected trace data 25.10.2006
OpenTS extension “vistrace” Pickup of T-application characteristics on every T-process every time tick (1/25 sec. for default) Collecting data from computation nodes to root node using MPI messages. Capsulation of frame/slice of execution state Data recording in XML format 25.10.2006
OpenTS characteristics picked up by “vistrace” component Resource data: Available memory Computation node productivity T-application state data: Spawned tasks Prenatal tasks Exported/Imported tasks Active tasks Suspended tasks Finished tasks 25.10.2006
OpenTS characteristics picked up by “vistrace” component Times: Total OpenTS tasks computation time Total time spent in scheduler Total time of MPI communications Total idle time Info about OpenTS messages passed during execution (5 message types) 25.10.2006
GUI visualization component. Implementation of visualizator GTK+ — multi-platform toolkit for creating graphical user interfaces OS: Linux, Windows Architectures: x86(ia32), x86_64 (AMD64, EM64T) 25.10.2006
Visualizator. Operation modes. Methods of input data processing Visualizator. Operation modes. Methods of input data processing. Pros and cons of various approaches Process all trace input data at once. Extended and suitable trace investigation Requires significant resources Process trace input data in stream way. Limited set of trace investigation controls Unlimited input data size 25.10.2006
Architecture of visualizator. GUI subcomponents. Stats display GUI subcomponent GUI subcomponent for T-application processes states representation Trace playback/investigation controls 25.10.2006
T-visualizator GUI component 25.10.2006
Visualizator. Statistics subcomponent Per proc stats Number of OpenTS tasks in various states Sent/received OpenTS messages statistics Elapsed time stats Statistics summarized for all nodes T-application trace and T-visualizator general info 25.10.2006
Visualizator. T-application processes states representation subcomponent OpenTS processes represented as circles with status bars Interprocess OpenTS messages represented as arcs Ability to move and place nodes in suitable way Informational elements on messages arcs Popup info tooltips 25.10.2006
Visualizator. Trace playback controls subcomponent Control buttons: “Rewind (Select first frame/slice)” “Back (Select previous frame)” “Play” “Pause” “Next (Select next frame)” “Forward (Select last frame)” Limitations of stream mode (only “play”, “pause” and “next” available) 25.10.2006
Example of T-application trace investigation 25.10.2006
Example of T-application trace investigation 25.10.2006
Example of T-application trace investigation 25.10.2006
Example of T-application trace investigation 25.10.2006
Example of T-application trace investigation 25.10.2006
Thanks … … any questions ??? … … 25.10.2006