TY - JOUR
T1 - Hotspy
T2 - identifying performance hotspot with graph neural network based static analysis
AU - Huo, Da
AU - You, Xin
AU - Xuan, Zhibo
AU - Yang, Hailong
AU - Luan, Zhongzhi
AU - Qian, Depei
N1 - Publisher Copyright:
© China Computer Federation (CCF) 2025.
PY - 2025/6
Y1 - 2025/6
N2 - Performance analysis is a crucial functionality required in the domain of high-performance computing for effective performance optimization. However, collecting performance traces of parallel programs often incurs significant overhead due to the need to trace numerous performance metrics such as function timestamps and hardware counters. Such overhead prohibits performance analysis tools from being practically applied to large-scale parallel programs. To mitigate the above overhead, existing tools typically require program pre-execution to identify hotspot functions for subsequent trace collection, which can effectively reduce the overhead. However, for large-scale performance analysis, such an approach still imposes substantial and unacceptable execution overhead, due to an additional profiling run to obtain a list of hotspot functions for further performance tracing and analysis. To address such drawback, we propose Hotspy, a performance analysis tool for identifying hotspot functions based on graph neural networks. Hotspy performs static analysis at LLVM intermediate representation level and predicts potential hotspot functions for instrumentation, without program pre-execution. The experimental results demonstrate that Hotspy can significantly reduce the overhead of hotspot function identification with notable prediction accuracy.
AB - Performance analysis is a crucial functionality required in the domain of high-performance computing for effective performance optimization. However, collecting performance traces of parallel programs often incurs significant overhead due to the need to trace numerous performance metrics such as function timestamps and hardware counters. Such overhead prohibits performance analysis tools from being practically applied to large-scale parallel programs. To mitigate the above overhead, existing tools typically require program pre-execution to identify hotspot functions for subsequent trace collection, which can effectively reduce the overhead. However, for large-scale performance analysis, such an approach still imposes substantial and unacceptable execution overhead, due to an additional profiling run to obtain a list of hotspot functions for further performance tracing and analysis. To address such drawback, we propose Hotspy, a performance analysis tool for identifying hotspot functions based on graph neural networks. Hotspy performs static analysis at LLVM intermediate representation level and predicts potential hotspot functions for instrumentation, without program pre-execution. The experimental results demonstrate that Hotspy can significantly reduce the overhead of hotspot function identification with notable prediction accuracy.
KW - Graph neural networks
KW - Hotspot functions
KW - Performance analysis
KW - Static analysis
UR - https://www.scopus.com/pages/publications/105001713147
U2 - 10.1007/s42514-025-00220-7
DO - 10.1007/s42514-025-00220-7
M3 - 文章
AN - SCOPUS:105001713147
SN - 2524-4922
VL - 7
SP - 260
EP - 274
JO - CCF Transactions on High Performance Computing
JF - CCF Transactions on High Performance Computing
IS - 3
ER -