PPAT: A THREAD PERFORMANCE ANALYSING TOOL FOR PTHREAD PARALLEL APPLICATIONS
Wen Shasha,Liu Yi,Ping Li,Bo Qian
2012-01-01
Abstract:With the development of multi/many-core processors' technology,growing multithreading parallel techniques will be required by the applications in order to enhance performances.However,along with the increase of threads number,the relations of synchronisation and mutual exclusion as well as resource competition in the process of parallel threads executions become more complex,and make the performance tuning more difficult.In this paper we design and implement the PPAT,a parallel program thread performance analysing tool for Pthread applications,in order to have the programmers intuitively learn the dynamic running process of the threads,in particular the influence affected by the synchronisation and resource sharing between the threads,and to assist them in program performance tuning.The tool can obtain dynamically during the program runtime the information of threads execution and mutual exclusion/synchronisation between threads,generate thread communication graph,and display in multiple visualisation approaches,these provide programmers a basis of program performance tuning.