Title :
Measuring and Visualizing Thread Communications for Pthread Applications
Author :
Shasha Wen ; Yi Liu ; Tao Liu ; Ping Song ; Bo Li ; Depei Qian
Author_Institution :
Sino-German Joint Software Inst., Beihang Univ., Beijing, China
Abstract :
Entering the era of multi/many core processors, multithreading has been used by applications frequently to enhance performance. However, with the increasing of thread number, dynamic behaviors of thread executions become more complex as well as making performance tuning more difficult. In this paper, we present a way to analyze the performance with the communication graph which describes how threads in parallel programs communicate with each other. We obtain runtime information during the actual executions of real-world applications, generates thread interaction graph and provides multiple visualization methods to programmers as an assistance of performance-tuning. The graphs are useful for optimization of programs, optimization of scheduling and deterministic accessing analysis of shared data.
Keywords :
coprocessors; data analysis; data communication; graph theory; information retrieval; multi-threading; multiprocessing systems; optimisation; processor scheduling; program visualisation; Pthread application; communication graph; deterministic shared data access analysis; dynamic thread execution behavior; many core processor; multicore processor; multithreading; parallel program; performance tuning; program optimization; runtime information; scheduling optimization; thread communication measurement; thread communication visualization; thread interaction graph generation; thread number; visualization method; Hardware; Instruction sets; Instruments; Optimization; Runtime; Synchronization; conflict; many-core; multithreading; optimization; performance tuning; shared data;
Conference_Titel :
Parallel and Distributed Computing, Applications and Technologies (PDCAT), 2012 13th International Conference on
Conference_Location :
Beijing
Print_ISBN :
978-0-7695-4879-1
DOI :
10.1109/PDCAT.2012.92