Performance, Measurement
| Citations: | 3 - 0 self |
BibTeX
@MISC{Jiang_performance,measurement,
author = {Yunlian Jiang and Eddy Z Zhang and Kai Tian and Feng Mao and Malcom Gethers and Xipeng Shen and Yaoqing Gao},
title = {Performance, Measurement},
year = {}
}
OpenURL
Abstract
This paper presents a finding and a technique on program behavior prediction. The finding is that surprisingly strong statistical correlations exist among the behaviors of different program components (e.g., loops) and among different types of programlevel behaviors (e.g., loop trip-counts versus data values). Furthermore, the correlations can be beneficially exploited: They help resolve the proactivity-adaptivity dilemma faced by existing program behavior predictions, making it possible to gain the strengths of both approaches—the large scope and earliness of offline-profiling–based predictions, and the cross-input adaptivity of runtime sampling-based predictions. The main technique contributed by this paper centers on a new concept, seminal behaviors. Enlightened by the existence of strong correlations among program behaviors, we propose a regressionbased framework to automatically identify a small set of behaviors that can lead to accurate prediction of other behaviors in a program. We call these seminal behaviors. By applying statistical learning techniques, the framework constructs predictive models that map from seminal behaviors to other behaviors, enabling proactive and cross-input adaptive prediction of program behaviors. The prediction helps a commercial compiler, the IBM XL C compiler, generate code that runs up to 45 % faster (5%–13 % on average), demonstrating the large potential of correlation-based techniques for program optimizations.







