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

OpenMP多线程负载均衡调度策略研究与实现
引用本文:任小西,唐玲,李仁发.OpenMP多线程负载均衡调度策略研究与实现[J].计算机科学,2010,37(11):148-151.
作者姓名:任小西  唐玲  李仁发
作者单位:湖南大学计算机与通信学院,长沙,410082
基金项目:本文受国家自然科学基金项目(60973030),广东省教育部科技部企业科技特派员行动计划基金项目(2009B090600078)资助。
摘    要:循环并行化是OpenMP并行化程序中最重要的部分,线程数、循环体大小、调度策略等是并行化过程需要考虑的主要因素。为了在调度开销与负载均衡之间获得更好的权衡,在OMPi编译器中实现了梯式trapezoid调度策略,以提高OpenMP多线程程序的运行性能。实验结果表明,梯式调度策略应用在递减以及某些极不规则的循环结构中,在适当的线程数下,与指数调度相比,该调度策略能表现出更好的性能。

关 键 词:OpenMP,负载均衡,调度策略,梯式调度,OMPi
收稿时间:2009/12/30 0:00:00
修稿时间:2010/3/16 0:00:00

Study and Implementation of OpenMP Multi-thread Load Balance Scheduling Scheme
REN Xiao-xi,TANG Ling,LI Ren-fa.Study and Implementation of OpenMP Multi-thread Load Balance Scheduling Scheme[J].Computer Science,2010,37(11):148-151.
Authors:REN Xiao-xi  TANG Ling  LI Ren-fa
Affiliation:(School of Computer and Communication, Hunan University,Changsha 410082,China)
Abstract:Loop is one of the most important structures that can be parallelized effectively with OpenMP. However, the performance outcome will depends on the threads number, size of loop body and scheduling scheme. In order to get better performance and reach a better trade-off between scheduling overhead and load balance, this paper implemented the trapezoid scheduling scheme using OMPi, a open-source compiler that supports OpenMP API. The evaluation results show that; with normal threads number, the trapezoid self-scheduling will yield better performance than guided self-scheduling in case of the decreasing- and irregular-loop structure.
Keywords:OpenMP  Load balance  Scheduling scheme  Trapezoid self-scheduling  OMPi
本文献已被 万方数据 等数据库收录!
点击此处可从《计算机科学》浏览原始摘要信息
点击此处可从《计算机科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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