摘要
为了精确分析负载均衡问题,以优化程序运行性能,确定了负载均衡分析单元,度量了负载不均衡程度以及潜在的并行调整效率,提出了一种以负载均衡分析单元为分析对象来检测、分析、调整OpenMP多线程程序负载均衡的方法。该方法在隐含同步显示化的基础上,使用指导语句改写的方法对源程序进行插桩并获取性能数据;在负载均衡方面,对程序进行性能分析,根据潜在的并行调整效率有选择地对程序进行负载均衡调整。实验表明该方法是可行有效的。
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.It 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.
出处
《计算机应用研究》
CSCD
北大核心
2011年第5期1752-1755,1760,共5页
Application Research of Computers
基金
湖南省科技计划重点资助项目(2010GK2002)
关键词
OPENMP
负载均衡分析单元
插桩
负载均衡调整
OpenMP(open multi-processing)
load balance analysis unit
instrument
load balance adjustment