Abstract

Parallel programming is a requirement in the multi-core era. One of the most promising techniques to make parallel programming available for the general users is the use of parallel programming patterns. Functional pipeline parallelism is a pattern that is well suited for many emerging applications, such as streaming and "Recognition, Mining and Synthesis" (RMS) workloads. In this paper we develop an analytical model for pipeline parallelism based on queueing theory. The model is useful to both characterize the performance and efficiency of existing implementations and to guide the design of new pipeline algorithms. We demonstrate the usefulness of the model by characterizing and optimizing two of the PARSEC benchmarks, ferret and dedup. We identified two issues with these codes: load imbalance and I/O bottlenecks. We addressed load imbalance using two techniques: i) parallel pipeline stage collapsing; and ii) dynamic scheduling. We implemented these optimizations using Pthreads and the Threading Building Blocks (TBB) libraries. We compare the performance of different alternatives and we note that the TBB implementation based on work stealing outperforms all other variants.


Original document

The different versions of the original document can be found in:

http://www.ac.uma.es/~compilacion/publicaciones/UMA-DAC-09-04.pdf,
https://dblp.uni-trier.de/db/conf/IEEEpact/pact2009.html#NavarroATC09,
http://doi.ieeecomputersociety.org/10.1109/PACT.2009.28,
http://yadda.icm.edu.pl/yadda/element/bwmeta1.element.ieee-000005260522,
https://ieeexplore.ieee.org/document/5260522,
https://academic.microsoft.com/#/detail/2145406052
http://dx.doi.org/10.1109/pact.2009.28
Back to Top

Document information

Published on 01/01/2009

Volume 2009, 2009
DOI: 10.1109/pact.2009.28
Licence: CC BY-NC-SA license

Document Score

0

Views 1
Recommendations 0

Share this document

Keywords

claim authorship

Are you one of the authors of this document?