Method and device for acquiring parallel program performance data based on high performance platform

Zhai Yan,Zhai Jidong,Chen Liwei,Chen Wenguang
2013-01-01
Abstract:The invention provides a method and a device for acquiring parallel program performance data based on a high performance platform. The method comprises the following steps of: S101, setting control parameters; S102, running a program to be acquired; S103, acquiring the function calling context of the currently-run program; S104, carrying out instrumentation on the program by using a communication instrumentation module, acquiring the communication performance data of the program, and corresponding to a program function calling context for triggering instrumentation; S105, running an interrupt program; S106, sampling the program through a computation sampling module, acquiring the computation performance data of the program, and corresponding to a program function calling context captured by sampling; S107, restoring running of the program; S108, repeating the steps S104 to S107 till all communication performance data and computation performance data are acquired; and S109, sorting and outputting the communication performance data and the computation performance data. According to the method disclosed by the embodiment of the invention, a reasonable sampling and instrumentation mixing way is adopted, so that excessive acquisition overhead, communication performance data and computation performance data are avoided.
What problem does this paper attempt to address?