CSDL Home H HIPS 2004 Proceedings. Ninth International Workshop on High-Level Parallel Programming Models and Supportive Environments
Santa Fe, NM, USA
April 26, 2004 to April 26, 2004
Steve MacDonald , University of Waterloo
Jonathan Schaeffer , University of Alberta
The pipeline is a simple and intuitive structure to speed up many problems. Novice parallel programmers are usually taught this structure early on. However, expert parallel programmers typically eschew using the pipeline in coarse-grained applications because it has three serious problems that make it difficult to implement efficiently. First, processors are idle when the pipeline is not full. Second, load balancing is crucial to obtaining good speedup. Third, it is difficult to incrementally incorporate more processors into an existing pipeline. Instead, experts recast the problem as a master/slave structure which does not suffer from these problems. This paper details a transformation that allows programs written in a pipeline style to execute using the master/slave structure. Parallel programmers can benefit from both the intuitive simplicity of the pipeline and the efficient execution of a master/slave structure. This is demonstrated by performance results from two applications.
Steve MacDonald, Jonathan Schaeffer, "Rethinking the Pipeline as Object-Oriented States with Transformations", HIPS, 2004, Proceedings. Ninth International Workshop on High-Level Parallel Programming Models and Supportive Environments, Proceedings. Ninth International Workshop on High-Level Parallel Programming Models and Supportive Environments 2004, pp. 12-21, doi:10.1109/HIPS.2004.1299186