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 条
[31]   Performance Diagnosis of Elite Table Tennis Competition Based on Rough Set Theory [J].
Wang, Jie ;
Kong, Qingyan .
2014 11TH INTERNATIONAL CONFERENCE ON FUZZY SYSTEMS AND KNOWLEDGE DISCOVERY (FSKD), 2014, :55-60
[32]   Generic and Robust Performance Diagnosis via Causal Inference for OLTP Database Systems [J].
Lu, Xianglin ;
Xie, Zhe ;
Li, Zeyan ;
Li, Mingjie ;
Nie, Xiaohui ;
Zhao, Nengwen ;
Yu, Qingyang ;
Zhan, Shenglin ;
Sui, Kaixin ;
Zhu, Lin ;
Pei, Dan .
2022 22ND IEEE/ACM INTERNATIONAL SYMPOSIUM ON CLUSTER, CLOUD AND INTERNET COMPUTING (CCGRID 2022), 2022, :655-664
[33]   Development of a performance diagnosis of the anaerobic strength endurance of the forearm flexor muscles in sport climbing [J].
Schöffl, VR ;
Möckel, F ;
Köstermeyer, G ;
Roloff, I ;
Küpper, T .
INTERNATIONAL JOURNAL OF SPORTS MEDICINE, 2006, 27 (03) :205-211
[34]   Performance monitoring and diagnosis of bridge structures based on time multiscale divide and conquer strategy [J].
Pan, Ruiyang ;
Dan, Danhui ;
Zeng, Gang ;
Yan, Xingfei .
ADVANCES IN STRUCTURAL ENGINEERING, 2024, 27 (12) :2098-2115
[35]   Performance degradation diagnosis of thermal power plants: A method based on advanced exergy analysis [J].
Fu, Peng ;
Wang, Ningling ;
Wang, Ligang ;
Morosuk, Tatiana ;
Yang, Yongping ;
Tsatsaronis, George .
ENERGY CONVERSION AND MANAGEMENT, 2016, 130 :219-229
[36]   A Resource Contention Analysis Framework for Diagnosis of Application Performance Anomalies in Consolidated Cloud Environments [J].
Matsuki, Tatsuma ;
Matsuoka, Naoki .
PROCEEDINGS OF THE 2016 ACM/SPEC INTERNATIONAL CONFERENCE ON PERFORMANCE ENGINEERING (ICPE'16), 2016, :173-184
[37]   A NOVEL APPROACH TO PERFORMANCE DIAGNOSIS FOR ITS DETECTION SYSTEM BASED ON DATA DISTRIBUTION ANALYSIS [J].
Du, Yuchuan ;
Jiang, Shengchuan ;
Zhou, Ziyi .
PAKISTAN JOURNAL OF STATISTICS, 2013, 29 (05) :843-856
[38]   Using OpenMP to Detect and Speculate Dynamic DOALL Loops [J].
Honorio, Bruno Chinelato ;
de Carvalho, Joao P. L. ;
Skaf, Munir ;
Araujo, Guido .
OPENMP: PORTABLE MULTI-LEVEL PARALLELISM ON MODERN SYSTEMS, 2020, 12295 :231-246
[39]   Locating and categorizing inefficient communication patterns in HPC systems using inter-process communication traces [J].
Alawneh, Luay ;
Hamou-Lhadj, Abdelwahab .
JOURNAL OF SYSTEMS AND SOFTWARE, 2022, 194
[40]   Performance Diagnosis of Oracle Database Systems Based on Image Encoding and VGG16 Model [J].
Liao, Xiaoqi ;
Zheng, Hua ;
Wang, Hongkai ;
Hong, Mingxia ;
Lin, Xuedong ;
Zhu, Xiaoqin ;
Zhang, Yuanying .
IEEE ACCESS, 2024, 12 :137194-137202