Title :
Efficient software-based online phase classification
Author :
Sembrant, Andreas ; Eklov, David ; Hagersten, Erik
Author_Institution :
Dept. of Inf. Technol., Uppsala Univ., Uppsala, Sweden
Abstract :
Many programs exhibit execution phases with time-varying behavior. Phase detection has been used extensively to find short and representative simulation points, used to quickly get representative simulation results for long-running applications. Several proposals for hardware-assisted phase detection have also been proposed to guide various forms of optimizations and hardware configurations. This paper explores the feasibility of low overhead phase detection at runtime based entirely on existing features found in modern processors. If successful, such a technology would be useful for cache management, frequency adjustments, runtime scheduling and profiling techniques. The paper evaluates several existing and new alternatives for efficient runtime data collection and online phase detection. ScarPhase (Sample-based Classification and Analysis for Runtime Phases), a new online phase detection library, is presented. It makes extensive usage of the new hardware counter features, introduces a new phase classification heuristic and suggests a way to dynamically adjust the sample rate. ScarPhase exhibits runtime overhead below 2%.
Keywords :
program diagnostics; sampling methods; ScarPhase; hardware-assisted phase detection; low overhead phase detection; online phase detection library; runtime data collection; runtime phases; sample-based analysis; sample-based classification; software-based online phase classification; time-varying behavior; Benchmark testing; Hardware; Phase detection; Radiation detectors; Runtime; Support vector machine classification; Vectors;
Conference_Titel :
Workload Characterization (IISWC), 2011 IEEE International Symposium on
Conference_Location :
Austin, TX
Print_ISBN :
978-1-4577-2063-5
Electronic_ISBN :
978-1-4577-2062-8
DOI :
10.1109/IISWC.2011.6114207