IntroPerf
Authors:
Open Access
- 16 June 2014
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in ACM SIGMETRICS Performance Evaluation Review
- Vol. 42 (1) , 235-247
Abstract
Performance bugs are frequently observed in commodity software. While profilers or source code-based tools can be used at development stage where a program is diagnosed in a well-defined environment, many performance bugs survive such a stage and affect production runs. OS kernel-level tracers are commonly used in post-development diagnosis due to their independence from programs and libraries; however, they lack detailed program-specific metrics to reason about performance problems such as function latencies and program contexts. In this paper, we propose a novel performance inference system, called IntroPerf, that generates fine-grained performance information -- like that from application profiling tools -- transparently by leveraging OS tracers that are widely available in most commodity operating systems. With system stack traces as input, IntroPerf enables transparent context-sensitive performance inference, and diagnoses application performance in a multi-layered scope ranging from user functions to the kernel. Evaluated with various performance bugs in multiple open source software projects, IntroPerf automatically ranks potential internal and external root causes of performance bugs with high accuracy without any prior knowledge about or instrumentation on the subject software. Our results show IntroPerf's effectiveness as a lightweight performance introspection tool for post-development diagnosis.Keywords
This publication has 16 references indexed in Scilit:
- Understanding and detecting real-world performance bugs2012
- Fay2011
- Improving software diagnosability via log enhancement2011
- Probabilistic calling context2007
- Valgrind2007
- Accurate, efficient, and adaptive calling context profiling2006
- Pin2005
- Scalable statistical bug isolation2005
- gprofACM SIGPLAN Notices, 2004
- Exploiting hardware performance counters with flow and context sensitive profiling1997