Harmony
Authors:
Open Access
- 5 September 2012
- journal article
- Published by Association for Computing Machinery (ACM) in ACM SIGARCH Computer Architecture News
- Vol. 40 (3) , 452-463
Abstract
Efficient execution of well-parallelized applications is central to performance in the multicore era. Program analysis tools support the hardware and software sides of this effort by exposing relevant features of multithreaded applications. This paper describes parallel block vectors, which uncover previously unseen characteristics of parallel programs. Parallel block vectors provide block execution profiles per concurrency phase (e.g., the block execution profile of all serial regions of a program). This information provides a direct and fine-grained mapping between an application's runtime parallel phases and the static code that makes up those phases. This paper also demonstrates how to collect parallel block vectors with minimal application perturbation using Harmony. Harmony is an instrumentation pass for the LLVM compiler that introduces just 16-21% overhead on average across eight Parsec benchmarks. We apply parallel block vectors to uncover several novel insights about parallel applications with direct consequences for architectural design. First, that the serial and parallel phases of execution used in Amdahl's Law are often composed of many of the same basic blocks. Second, that program features, such as instruction mix, vary based on the degree of parallelism, with serial phases in particular displaying different instruction mixes from the program as a whole. Third, that dynamic execution frequencies do not necessarily correlate with a block's parallelism.Keywords
This publication has 25 references indexed in Scilit:
- Dynamic Race Detection with LLVM Compiler2012
- StarPU: a unified platform for task scheduling on heterogeneous multicore architecturesConcurrency and Computation: Practice and Experience, 2010
- Programming model for a heterogeneous x86 platformACM SIGPLAN Notices, 2009
- Effective performance measurement and analysis of multithreaded applicationsACM SIGPLAN Notices, 2009
- Identifying potential parallelism via loop-centric profiling2007
- The Tau Parallel Performance SystemThe International Journal of High Performance Computing Applications, 2006
- Automatically characterizing large scale program behaviorACM SIGARCH Computer Architecture News, 2002
- Event-based performance perturbation1991
- Quartz: a tool for tuning parallel program performanceACM SIGMETRICS Performance Evaluation Review, 1990
- GprofACM SIGPLAN Notices, 1982