PCERE: Fine-Grained Parallel Benchmark Decomposition for Scalability Prediction
Authors:
- Mihail PopovMPMihail Popov
- Chadi AkelCAChadi Akel
- Florent ContiFCFlorent Conti
- William JalbyWJWilliam Jalby
- Pablo De Oliveira CastroPCPablo De Oliveira Castro
- 1 May 2015
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 15302075,p. 1151-1160
Abstract
Evaluating the strong scalability of OpenMP applications is a costly and time-consuming process. It traditionally requires executing the whole application multiple times with different number of threads. We propose the Parallel Codelet Extractor and REplayer (PCERE), a tool to reduce the cost of scalability evaluation. PCERE decomposes applications into small pieces called codelets: each codelet maps to an OpenMP parallel region and can be replayed as a standalone program. To accelerate scalability prediction, PCERE replays codelets while varying the number of threads. Prediction speedup comes from two key ideas. First, the number of invocations during replay can be significantly reduced. Invocations that have the same performance are grouped together and a single representative is replayed. Second, sequential parts of the programs do not need to be replayed for each different thread configuration. PCERE codelets can be captured once and replayed accurately on multiple architectures, enabling cross-architecture parallel performance prediction. We evaluate PCERE on a C version of the NAS 3.0 Parallel Benchmarks (NPB). We achieve an average speed-up of 25 × on evaluating OpenMP applications scalability with an average error of 4.9% (median error of 1.7%).Keywords
This publication has 24 references indexed in Scilit:
- BarrierPoint: Sampled simulation of multi-threaded applications2014
- Sampled simulation of multi-threaded applications2013
- ESESC: A fast multicore simulator using Time-Based Sampling2013
- PHANTOMACM SIGPLAN Notices, 2010
- OpenUH: an optimizing, portable OpenMP compilerConcurrency and Computation: Practice and Experience, 2007
- The OpenMP source code repository2005
- Memory reference reuse latency: Accelerated warmup for sampled microarchitecture simulation2003
- Reducing state loss for effective trace sampling of superscalar processors2002
- Choosing Representative Slices of Program Execution for Microarchitecture Simulations: A Preliminary Application to the Data Stream2001
- A comparison of trace-sampling techniques for multi-megabyte cachesIEEE Transactions on Computers, 1994