对集群环境下大规模遥感影像并行计算中任务分配效率低、负载不均衡的问题进行分析讨论,在此基础上建立多机任务分配模型,提出一种基于计算节点优先级的任务分配算法。该算法综合考虑计算节点的负载和性能,在任务分配时实时地收集各个节点的信息,计算出各个计算节点的优先级,按照优先级的高低分配任务,保证在满足集群问负载均衡的前提下能合理地将任务分配到计算节点。实验结果表明,该算法能快速实时地进行任务分配,任务的分布更加合理和均匀,并且当任务个数增多时,算法的执行效率要比轮转调度算法高出约2倍。
After a discussion of the low efficiency task allocation and load imbalance problem in parallel computing of remote sensing image, this paper gives the multi-task distribution model, and proposes a compute nodes' priority-based task distribution algorithm, which is in comprehensive consideration of load and performance of compute nodes. It collects real-time information on each node when the task is assigned. According to the formula to calculate the priority of each computing node and in accordance with the priority level of assign tasks, under the premise of load balancing, this algorithm can assign task reasonable to computer nodes. Evaluation result shows that this algorithm can process task allocation in reasonable time. The distribution of the tasks becomes more reasonable and uniform, and behaves better than round-robin scheduling algorithm by about 2 times when the number of tasks increases.