Effective Performance Issue Diagnosis with Value-Assisted Cost Profiling

被引:0
作者
Weng, Lingmei [1 ]
Hu, Yigong [2 ]
Huang, Peng [3 ]
Nieh, Jason [1 ]
Yang, Junfeng [1 ]
机构
[1] Columbia Univ, New York, NY 10027 USA
[2] Johns Hopkins Univ, Baltimore, MD USA
[3] Univ Michigan, Ann Arbor, MI USA
来源
PROCEEDINGS OF THE EIGHTEENTH EUROPEAN CONFERENCE ON COMPUTER SYSTEMS, EUROSYS 2023 | 2023年
关键词
Debugging; profilers; program analysis;
D O I
10.1145/3552326.3587444
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Diagnosing performance issues is often difficult, especially whenthey occur only during some program executions. Profilers can help with performance debugging, but are ineffective when the most costly functions are not the root causes of performance issues. To address this problem, we introduce a new profiling methodology, value-assisted cost profiling, and a tool vProf. Our insight is that capturing the values of variables can greatly help diagnose performance issues. vProf continuously records values while profiling normal and buggy program executions. It identifies anomalies in the values and the functions where they occur to pinpoint the real root causes of performance issues. Using a set of 15 real-world performance bugs in four widely used applications, we show that vProf is effective at diagnosing all of the issues while other state-of-the-art tools diagnose only a few of them. We further use vProf to diagnose longstanding performance issues in these applications that have been unresolved for over four years.
引用
收藏
页码:1 / 17
页数:17
相关论文
共 46 条
  • [1] ASYMPTOTIC THEORY OF CERTAIN GOODNESS OF FIT CRITERIA BASED ON STOCHASTIC PROCESSES
    ANDERSON, TW
    DARLING, DA
    [J]. ANNALS OF MATHEMATICAL STATISTICS, 1952, 23 (02): : 193 - 212
  • [2] [Anonymous], 2001, Encyclopedia of mathematics
  • [3] apache, httpd: Apache Hypertext Transfer Protocol Server
  • [4] Apple, MACOS INSTR OV
  • [5] Attariyan M., 2012, 10 USENIX S OPERATIN, P307
  • [6] Azimi Reza., 2005, ICS 05, P101, DOI [DOI 10.1145/1088149.1088163, 10.1145/1088149.1088163]
  • [7] Barham P, 2004, USENIX ASSOCIATION PROCEEDINGS OF THE SIXTH SYMPOSIUM ON OPERATING SYSTEMS DESIGN AND IMPLEMENTATION (OSDE '04), P259
  • [8] Bendersky E., Parsing ELF and DWARF in Python
  • [9] Mining Performance Specifications
    Brunink, Marc
    Rosenblum, David S.
    [J]. FSE'16: PROCEEDINGS OF THE 2016 24TH ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON FOUNDATIONS OF SOFTWARE ENGINEERING, 2016, : 39 - 49
  • [10] Chabbi M., 2012, Proceedings of the Tenth International Symposium on Code Generation and Optimization, CGO'12, P124, DOI DOI 10.1145/2259016.2259033