BarrierPoint: Sampled simulation of multi-threaded applications
- 1 March 2014
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 2-12
Abstract
Sampling is a well-known technique to speed up architectural simulation of long-running workloads while maintaining accurate performance predictions. A number of sampling techniques have recently been developed that extend well-known single-threaded techniques to allow sampled simulation of multi-threaded applications. Unfortunately, prior work is limited to non-synchronizing applications (e.g., server throughput workloads); requires the functional simulation of the entire application using a detailed cache hierarchy which limits the overall simulation speedup potential; leads to different units of work across different processor architectures which complicates performance analysis; or, requires massive machine resources to achieve reasonable simulation speedups. In this work, we propose BarrierPoint, a sampling methodology to accelerate simulation by leveraging globally synchronizing barriers in multi-threaded applications. BarrierPoint collects microarchitecture-independent code and data signatures to determine the most representative inter-barrier regions, called barrierpoints. BarrierPoint estimates total application execution time (and other performance metrics of interest) through detailed simulation of these barrierpoints only, leading to substantial simulation speedups. Barrierpoints can be simulated in parallel, use fewer simulation resources, and define fixed units of work to be used in performance comparisons across processor architectures. Our evaluation of BarrierPoint using NPB and Parsec benchmarks reports average simulation speedups of 24.7× (and up to 866.6×) with an average simulation error of 0.9% and 2.9% at most. On average, BarrierPoint reduces the number of simulation machine resources needed by 78×.Keywords
This publication has 24 references indexed in Scilit:
- Experiment flows and microbenchmarks for reverse engineering of branch predictor structures2009
- Predicting locality phases for dynamic memory optimizationJournal of Parallel and Distributed Computing, 2007
- Detecting phases in parallel applications on shared memory architectures2006
- Pin2005
- Motivation for Variable Length Intervals and Hierarchical Phase Behavior2005
- The Strong correlation Between Code Signatures and Performance2005
- Locality phase prediction2004
- Memory reference reuse latency: Accelerated warmup for sampled microarchitecture simulation2003
- Automatically characterizing large scale program behavior2002
- Evaluation techniques for storage hierarchiesIBM Systems Journal, 1970