首页 | 官方网站   微博 | 高级检索  
     

一种多线程负载均衡分析方法研究*
引用本文:陈佐,杨秋伟,万新,任小西. 一种多线程负载均衡分析方法研究*[J]. 计算机应用研究, 2011, 28(5): 1752-1755. DOI: 10.3969/j.issn.1001-3695.2011.05.045
作者姓名:陈佐  杨秋伟  万新  任小西
作者单位:湖南大学,计算机与通信学院,长沙,410082
基金项目:省自然科学基金资助项目
摘    要:负载均衡是OpenMP并行化串行程序后所带来的影响程序运行性能的重要因素之一。为了精确分析负载均衡问题,以优化程序运行性能,本文确定了负载均衡分析单元,度量了负载不均衡程度以及潜在的并行调整效率,提出了一种以负载均衡分析单元为分析对象来检测、分析、调整OpenMP多线程程序负载均衡的方法。该方法在隐含同步显示化的基础上,使用指导语句改写的方法对源程序进行插桩并获取性能数据,在负载均衡方面,对程序进行性能分析,根据潜在的并行调整效率有选择的对程序进行负载均衡调整。实验表明该方法是可行有效的。

关 键 词:OpenMP;负载均衡分析单元;插桩;负载均衡调整
收稿时间:2010-10-11
修稿时间:2010-11-29

Research on analyzing load equilibrium of multi-threads
CHEN Zuo,YANG Qiu-wei,WAN Xin,REN Xiao-xi. Research on analyzing load equilibrium of multi-threads[J]. Application Research of Computers, 2011, 28(5): 1752-1755. DOI: 10.3969/j.issn.1001-3695.2011.05.045
Authors:CHEN Zuo  YANG Qiu-wei  WAN Xin  REN Xiao-xi
Affiliation:(College of Computer & Communication Hunan University,Changsha 410082, China)
Abstract:Load balance is one of the important factors that affect the performance of OpenMP program. In order to accurately analyze the load balance problem and improve the performance of OpenMP program, this paper defined the unit of load balance analysis and measured the degree of load imbalance with the adjusted efficiency of latency parallel, then proposed a method for monitoring, analyzing and adjusting OpenMP Multi-thread load balance. This method used an approach based on directive rewriting for instrumentation and obtaining performance data with the help of unfolding hidden synchronization operations and adjusted selectively OpenMP program at the side of load balance according to the adjusted efficiency of latency parallel. Experimental results demonstrate that the method is feasible and effective.
Keywords:OpenMP   Load balance Analysis   Instrument   Load balance adjustment
本文献已被 CNKI 万方数据 等数据库收录!
点击此处可从《计算机应用研究》浏览原始摘要信息
点击此处可从《计算机应用研究》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号