Performance Diagnosis for Inefficient Loops

被引:46
作者
Song, Linhai [1 ]
Lu, Shan [2 ]
机构
[1] Fireeye Inc, Milpitas, CA 95035 USA
[2] Univ Chicago, Chicago, IL 60637 USA
来源
2017 IEEE/ACM 39TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE) | 2017年
基金
美国国家科学基金会;
关键词
performance diagnosis; debugging; loop inefficiency;
D O I
10.1109/ICSE.2017.41
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Writing efficient software is difficult. Design and implementation defects can cause severe performance degradation. Unfortunately, existing performance diagnosis techniques like profilers are still preliminary. They can locate code regions that consume resources, but not the ones that waste resources. In this paper, we first design a root-cause and fix-strategy taxonomy for inefficient loops, one of the most common performance problems in the field. We then design a static-dynamic hybrid analysis tool, LDoctor, to provide accurate performance diagnosis for loops. We further use sampling techniques to lower the run-time overhead without degrading the accuracy or latency of LDoctor diagnosis. Evaluation using real-world performance problems shows that LDoctor can provide better coverage and accuracy than existing techniques, with low overhead.
引用
收藏
页码:370 / 380
页数:11
相关论文
共 50 条
[21]   Rule-based automatic software performance diagnosis and improvement [J].
Xu, Jing .
PERFORMANCE EVALUATION, 2012, 69 (11) :525-550
[22]   Effective Performance Issue Diagnosis with Value-Assisted Cost Profiling [J].
Weng, Lingmei ;
Hu, Yigong ;
Huang, Peng ;
Nieh, Jason ;
Yang, Junfeng .
PROCEEDINGS OF THE EIGHTEENTH EUROPEAN CONFERENCE ON COMPUTER SYSTEMS, EUROSYS 2023, 2023, :1-17
[23]   Causal Inference Techniques for Microservice Performance Diagnosis: Evaluation and Guiding Recommendations [J].
Wu, Li ;
Tordsson, Johan ;
Elmroth, Erik ;
Kao, Odej .
2021 IEEE INTERNATIONAL CONFERENCE ON AUTONOMIC COMPUTING AND SELF-ORGANIZING SYSTEMS (ACSOS 2021), 2021, :21-30
[24]   Model-based relative performance diagnosis of wavefront parallel computations [J].
Li, Li ;
Malony, Allen D. ;
Huck, Kevin .
HIGH PERFORMANCE COMPUTING AND COMMUNICATIONS, PROCEEDINGS, 2006, 4208 :200-209
[25]   PCA-Based control Performance Assessment and Diagnosis for MIMO Systems [J].
Meng Qingwei ;
Zhong Zhenfang .
2015 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN, AND CYBERNETICS (SMC 2015): BIG DATA ANALYTICS FOR HUMAN-CENTRIC SYSTEMS, 2015, :1167-1171
[26]   An Ensemble MIC-based Approach for Performance Diagnosis in Big Data Platform [J].
Chen, Pengfei ;
Qi, Yong ;
Li, Xinyi ;
Su, Li .
2013 IEEE INTERNATIONAL CONFERENCE ON BIG DATA, 2013,
[27]   NoSQL Database Performance Diagnosis through System Call-level Introspection [J].
Seo, Changho ;
Chae, Yunchang ;
Lee, Jaeryun ;
Seo, Euiseong ;
Tak, Byungchul .
PROCEEDINGS OF THE IEEE/IFIP NETWORK OPERATIONS AND MANAGEMENT SYMPOSIUM 2022, 2022,
[28]   Performance Diagnosis of Controller Based on Eigenvector Subspace K-mean Clustering [J].
Hao, Man ;
Cao, Wei-Hua ;
Wu, Min ;
Yuan, Yan ;
Liu, Zhen-Tao .
PROCEEDINGS OF THE 36TH CHINESE CONTROL CONFERENCE (CCC 2017), 2017, :4419-4423
[29]   Model-based performance diagnosis of Master-Worker parallel computations [J].
Li, Li ;
Malony, Allen D. .
EURO-PAR 2006 PARALLEL PROCESSING, 2006, 4128 :35-46
[30]   Riemannian Metric Based Performance Monitoring and Diagnosis for a Class of Feedback Control Systems [J].
Li L.-L. ;
Li S.-S. ;
Ding S.X. ;
Peng X. ;
Peng K.-X. .
Zidonghua Xuebao/Acta Automatica Sinica, 2023, 49 (09) :1928-1940