一种在异构系统中实现负载平衡的方法
AN ALGORITHMFOR LOAD BALANCING IN A HETEROGENEOUS SYSTEM
-
摘要: 提出了在异构系统实现负载平衡的区域分解算法和实现负载平衡的计算方法,利用它的负反馈性质解决了异构系统处理机计算速度测量误差造成的负载测量不准问题,并对处理机速度变化,速度测量误差、处理机数量、网格点计算量的分布等因素的影响进行了计算,结果表明本方法具有很强的平衡负载能力和较强的适应性;根据计算结果提出了解决模式网格点计算量不易测量问题的解决方案,并用扩散方程和模拟物理过程进行试验,试验表明这种方法是可行的,平衡负载的效果十分显著。Abstract: Load balancing is a crucial problem in a heterogeneous system such as PC or workstation clusters, which has been widely used in the research and development of numerical weather prediction. A load balancing algorithm, based on feedback, is presented to eliminate the influence of uncertainty of processor speed, which is difficult to measure precisely. The influences of variation of processor speed, load distribution, errors of tested processor speed, etc., have been calculated. The results show that this method is quite robust. The diffusion equation and the simulated physical processes are used to test the algorithm, which shows that it is feasible and can balance the load quite weill.
-
表 1 测定每个网格点计算时间条件下,P取为16,32,64,128,256达到负载平衡的循环次数m
表 2 不能测定每个网格点计算时间条件下,P取为16,32,64,128,256达到负载平衡的循环次数m
-
[1] Michalakes J, Canfield T, Nanjundiah R, et al. Parallel implementation, validation and performance of MM5, coming of age. Proceedings of the Sixth ECMWF Workshop on the Use of Parallel Processors in Meteorology. World Scientific, River Edge, New Jersey, 1995. 266-276. http://www.gbv.de/dms/tib-ub-hannover/198050437.pdf [2] Michalakes J, Dudhia J, Gill D, et al. Design of a next-generation regional weather research and forecast model, towards teracomputing. Proceedings of the Eighth ECMWF Workshop on the Use of Parallel Processors in Meteorology. World Scientific, River Edge, New Jersey, 1999. 117-123. [3] Schattler U. Model development for parallel computers at DWD, making its mark. Proceedings of the Seventh ECMWF Workshop on the Use of parallel Processors in Meteorology. World Scientific, River Edge, New Jersey, 1997. 83-99. http://www.gbv.de/dms/tib-ub-hannover/249689324.pdf [4] 舒继武, 郑纬民, 沈美明, 等, 大规模问题数据并行性能的分析.软件学报, 2000, 11(5):628-633. http://www.cnki.com.cn/Article/CJFDTOTAL-RJXB200005007.htm [5] Ford R W, Burton P M. Load balancing physics routines, towards teracomputing. Proceedings of the Eighth ECMWF Workshop on the Use of parallel Processors in Meteorology. World Scientific, River Edge, New Jersey, 1999. 147-159. http://www.worldcat.org/oclc/43250502 [6] 金之雁, 王鼎兴.一种有限差分格式负载平衡区域分解方法.气象学报, 2002, 60(2):188-193.