Automating Vertical Profiling

Conference Paper: OOPSLA'05, October, 2005

Last year at OOPSLA we presented a methodology, vertical profiling, for understanding the performance of object-oriented programs. The key insight behind this methodology is that modern programs run on top of many layers (virtual machine, middleware, etc) and thus we need to collect and combine information from all layers in order to understand system performance. Although our methodology was able to explain previously unexplained performance phenomena, it was extremely labor intensive. In this paper we describe and evaluate techniques for automating two significant activities of vertical profiling: trace alignment and correlation. Trace alignment aligns traces obtained from separate runs so that one can reason across the traces. We are not aware of any prior approach that effectively and automatically aligns traces. Correlation sifts through hundreds of metrics to find ones that have a bearing on a performance anomaly of interest. In prior work we found that statistical correlation was only sometimes effective. We have identified highly-effective approaches for both activities.For aligning traces we explore dynamic time warping, and for correlation we explore eight correlators based on statistical correlation, distance measures, and piecewise linear segmentation. Although we explore these activities in the context of vertical profiling, both activities are widely applicable in the performance analysis area.

@inproceedings{Hauswirth05, author = {Hauswirth, Matthias and Diwan, Amer and Sweeney, Peter F. and Mozer, Michael C.}, title = {Automating vertical profiling}, booktitle = {Proceedings of the 20th annual ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications}, series = {OOPSLA '05}, year = {2005}, isbn = {1-59593-031-0}, location = {San Diego, CA, USA}, pages = {281--296}, numpages = {16}, url = {http://doi.acm.org/10.1145/1094811.1094834}, doi = {http://doi.acm.org/10.1145/1094811.1094834}, acmid = {1094834}, publisher = {ACM}, address = {New York, NY, USA}, keywords = {hardware performance monitors, perturbation, software performance monitors, vertical profiling, whole-system analysis}, }

ACM DL Author-ize service