• DocumentCode
    3456910
  • Title

    Analytical Modeling of Pipeline Parallelism

  • Author

    Navarro, Angeles ; Asenjo, Rafael ; Tabik, Siham ; Cascaval, Calin

  • Author_Institution
    Dept. Comput. Archit., Univ. of Malaga, Malaga, Spain
  • fYear
    2009
  • fDate
    12-16 Sept. 2009
  • Firstpage
    281
  • Lastpage
    290
  • 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.
  • Keywords
    parallel programming; pipeline processing; queueing theory; scheduling; software libraries; I/O bottleneck; PARSEC benchmark; TBB library; dynamic scheduling; load imbalance; multicore era; parallel pipeline stage collapsing; parallel programming pattern; pipeline algorithm; pipeline parallelism; pthreads library; queueing theory; threading building blocks; Analytical models; Computer architecture; Libraries; Parallel architectures; Parallel processing; Parallel programming; Pipelines; Programming profession; Queueing analysis; Streaming media; Parallel pipeline paradigm; analytical model.; load imbalance; work-stealing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Parallel Architectures and Compilation Techniques, 2009. PACT '09. 18th International Conference on
  • Conference_Location
    Raleigh, NC
  • ISSN
    1089-795X
  • Print_ISBN
    978-0-7695-3771-9
  • Type

    conf

  • DOI
    10.1109/PACT.2009.28
  • Filename
    5260522