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

多核机群上通信高效的整数序列并行排序方法
引用本文:柯琦,钟诚,陈清媛,陆向艳.多核机群上通信高效的整数序列并行排序方法[J].计算机应用,2013,33(3):821-824.
作者姓名:柯琦  钟诚  陈清媛  陆向艳
作者单位:1.广西大学 计算机与电子信息学院, 南宁 530004; 2.广西财经学院 信息与统计学院, 南宁 530003
基金项目:国家自然科学基金资助项目(60963001)。
摘    要:建立一个适用于整数序列排序的数据分配模型,在多核计算节点组成的异构机群上设计通信高效的整数序列并行算法。所提出的数据分配模型依据机群中各节点不同的计算能力、通信速率和存储容量,动态计算出调度分配给各节点的数据块的大小以平衡各个节点的负载。所设计的并行排序算法利用整数序列的特性,主节点采取两轮分发数据与接收结果的方法,从节点运用分桶打包方式返回有序的整数子序列给主节点,主节点采用桶映射方法将各个有序子序列直接整合成最终有序序列,以减少需要耗费较多通信时间的数据归并操作。分析与实验测试结果表明,给出的多核机群上的整数序列并行排序算法高效,具有良好的可扩展性。

关 键 词:整数排序  并行算法  多核机群  数据分配  
收稿时间:2012-09-24
修稿时间:2012-11-01

Communication-efficient parallel sorting integers sequence on multi-core cluster
KE Qi ZHONG Cheng CHEN Qingyuan LU Xiangyan.Communication-efficient parallel sorting integers sequence on multi-core cluster[J].journal of Computer Applications,2013,33(3):821-824.
Authors:KE Qi ZHONG Cheng CHEN Qingyuan LU Xiangyan
Affiliation:1.Computer and Electronic Information College, Guangxi University, Nanning Guangxi 530004, China;
2.School of Information and Statistics, Guangxi University for Finance and Economics, Nanning Guangxi 530003, China
Abstract:A data distribution strategy and a communication-efficient parallel algorithm for sorting integers sequence were proposed on the heterogeneous cluster with multi-core machines. The presented data distribution model properly utilized different computation speed, communication rate and memory capacity of each computing node to dynamically compute the size of the data block to be assigned to each node to balance the loads among nodes. In the proposed parallel sorting algorithm, making use of the characteristic of integers sequence, master node distributed the data blocks to the salve nodes and received the sorted subsequences with two-round mode, each salve node returned its sorted subsequence to master node by bucket-packing method, and master node linked its received sorted subsequences to form directly a final sorted sequence by the bucket mapping in order to reduce the data merge operations with large communication cost. The analysis and experimental results on the heterogeneous cluster with multi-core machines show that the presented parallel sorting integers sequence algorithm is efficient and scalable.
Keywords:integers sorting                                                                                                                        parallel algorithm                                                                                                                        multi-core cluster                                                                                                                        data distribution
点击此处可从《计算机应用》浏览原始摘要信息
点击此处可从《计算机应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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