A hardware-driven profiling scheme for identifying program hot spots to support runtime optimization
Matthew C. Merten, Andrew R. Trick, Christopher N. George et al. · 1999
This paper presents a novel hardware-based approach for identifying, profiling, and monitoring hot spots in order to support runtime optimization of generalpurpose programs. The proposed approach consists of a set of tightly coupled hardware tables and control logic modules that are placed in the retirement stage of a processor pipeline removed from the critical path. The features of the proposed design include rapid detection of program hot spots after changes in execution behavior, runtime-tunable selection criteria for hot spot detection, and negligible overhead during application execution. Experiments using several SPEC95 benchmarks, as well as several large WindowsNT applications, demonstrate the promise of the proposed design. 1 Introduction Optimizing compilers can gain significant performance benefits by performing code transformations based on a program's runtime profile. Traditionally, profiles are collected by running an instrumented version of the executable. However, bec...
Cited by 116 works. doi:10.1145/300979.300991
Authors
References
- Continuous profiling
- System support for automatic profiling and optimization
- Exploiting hardware performance counters with flow and context sensitive profiling
- Predicting program behavior using real or estimated profiles
- Branch prediction for free
- Fast, effective dynamic compilation
- ProfileMe: hardware support for instruction-level profiling on out-of-order processors
- Hot Cold Optimization of Large Windows/NT Applications
- Execution Characteristics of Desktop Applications on Windows NT
- Value profiling