首页 | 本学科首页   官方微博 | 高级检索  
     


Designing irregular parallel algorithms with mutual exclusion and lock-free protocols
Affiliation:1. Department of Computer Science and Artificial Intelligence, University of Granada, Spain;2. Department of Algebra, University of Granada, Spain;3. CITIC, University of Granada, Spain;4. IEMath-GR, University of Granada, Spain;1. Nanjing University of Science and Technology, School of Computer Science and Engineering, Nanjing 210094, China;2. Ministry of Education, Key Laboratory of Computer Network and Information Integration (Southeast University), Nanjing 210096, China;3. State Key Lab of Mathematical Engineering and Advanced Computing, Wuxi 214215, China
Abstract:Irregular parallel algorithms pose a significant challenge for achieving high performance because of the difficulty predicting memory access patterns or execution paths. Within an irregular application, fine-grained synchronization is one technique for managing the coordination of work; but in practice the actual performance for irregular problems depends on the input, the access pattern to shared data structures, the relative speed of processors, and the hardware support of synchronization primitives. In this paper, we focus on lock-free and mutual exclusion protocols for handling fine-grained synchronization. Mutual exclusion and lock-free protocols have received a fair amount of attention in coordinating accesses to shared data structures from concurrent processes. Mutual exclusion offers a simple programming abstraction, while lock-free data structures provide better fault tolerance and eliminate problems associated with critical sections such as priority inversion and deadlock. These synchronization protocols, however, are seldom used in parallel algorithm designs, especially for algorithms under the SPMD paradigm, as their implementations are highly hardware dependent and their costs are hard to characterize. Using graph-theoretic algorithms for illustrative purposes, we show experimental results on two shared-memory multiprocessors, the IBM pSeries 570 and the Sun Enterprise 4500, that irregular parallel algorithms with efficient fine-grained synchronization may yield good performance.
Keywords:
本文献已被 ScienceDirect 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号