DocumentCode :
2265973
Title :
A Non-blocking Programming Framework for Pipeline Application on Multi-core Platform
Author :
Li, Xiaoqiang ; An, Hong ; Liu, Gu ; Han, Wenting ; Xu, Mu ; Zhou, Wei ; Li, Qi
Author_Institution :
Sch. of Comput. Sci. & Technol., Univ. of Sci. & Technol. of China, Hefei, China
fYear :
2011
fDate :
26-28 May 2011
Firstpage :
25
Lastpage :
30
Abstract :
Many applications meet certain programming patterns like pipeline, fork-join, do-all etc. While tools such as OS threads and OpenMP allow programmers only to express task or data parallelism, special support for programming patterns is distinctly lacking. Intel threading building blocks (TBB) is developed to address this problem, but its scheduler is general and not optimized for any of its parallel algorithms which include pipeline specially. In this paper, we provide a non-blocking framework for pipeline application on multi-core platform. We target linear pipeline in which each filter has one entrance and one exit. We design a novel work-stealing scheduler optimized specially for pipeline application: first, priority based stealing, priority is calculated for each filter in pipeline so that a worker can find the optimal "victim" easily when it needs to steal, second, multiple tasks can be stolen at a time so that much stealing time is reduced. A non-block queue is used to store intermediate result to reduce lock overhead and increase scalability. We apply our framework to four case studies, including text filter, two fish, ferret, ded up. And our framework reduces execution time of TBB by 72% in best case and 20% on average on an 8 core machine.
Keywords :
multiprocessing systems; pipeline processing; scheduling; Intel threading building blocks; OpenMP; multicore platform; nonblock queue; nonblocking programming framework; pipeline application; work-stealing scheduler; Arrays; Load management; Optimization; Parallel processing; Pipelines; Programming; pipeline; programming model; work-stealing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Parallel and Distributed Processing with Applications (ISPA), 2011 IEEE 9th International Symposium on
Conference_Location :
Busan
Print_ISBN :
978-1-4577-0391-1
Electronic_ISBN :
978-0-7695-4428-1
Type :
conf
DOI :
10.1109/ISPA.2011.23
Filename :
5951877
Link To Document :
بازگشت