DocumentCode :
1877252
Title :
Barrier Optimization for OpenMP Program
Author :
Ma, Hongtu ; Zhao, Rongcai ; Gao, Xiang ; Zhang, Youwei
Author_Institution :
Zhengzhou Inf. Sci. & Technol. Inst., Zhengzhou, China
fYear :
2009
fDate :
27-29 May 2009
Firstpage :
495
Lastpage :
500
Abstract :
Barrier construct in OpenMP program is a directive used to remove race code before continuing. Each thread waits until all of the other threads of a team have reached the barrier region. And data dependence is a technology to find whether two statements can be run in parallel. This paper presents two ways to optimize the OpenMP programa barrier. The first one is to remove redundant barrier with data dependence information, that is, if all the statements across a barrier have no data dependence, then the barrier can be safely removed. And the second one is to reduce the cost of barrier. The paper gives an implementation of another form of parallelism- DOACROSS and a new form of OpenMP barrier-region barrier, in which both are synchronized with busy-waiting. Experimental results show that the performance of the optimized OpenMP program is improved.
Keywords :
application program interfaces; optimisation; parallel programming; synchronisation; DOACROSS parallelism; OpenMP barrier-region barrier; OpenMP program; barrier construct; barrier optimization; busy-waiting synchronization; data dependence technology; Artificial intelligence; Costs; Distributed computing; Information science; Intelligent networks; Parallel programming; Programming profession; Software engineering; Testing; Yarn;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Engineering, Artificial Intelligences, Networking and Parallel/Distributed Computing, 2009. SNPD '09. 10th ACIS International Conference on
Conference_Location :
Daegu
Print_ISBN :
978-0-7695-3642-2
Type :
conf
DOI :
10.1109/SNPD.2009.16
Filename :
5286621
Link To Document :
بازگشت