A Time-space Efficient Algorithm for Parallel k -way In-place Merging based on Sequence Partitioning and Perfect Shuffle

Author:

Salah Ahmad1,Li Kenli2,Liao Qing3,Hashem Mervat4,Li Zhiyong4,Chronopoulos Anthony T.5,Zomaya Albert Y.6

Affiliation:

1. College of Computer Science and Electrical Engineering, Hunan University, China, and Faculty of Computers and Informatics, Zagazig University, Zagazig, Sharkia, Egypt

2. Hunan University, China, and National Supercomputing Center in Changsha,, Changsha, Hunan, China

3. Department of Computer Science 8 Technology, Harbin Institute of Technology (Shenzhen), Shenzhen, Guangdong, China

4. Hunan University, Changsha, Hunan, China

5. Department of Computer Science, University of Texas at San Antonio, USA, and Department of Computer Engineering and Informatics, University of Patras, Rio, Greece

6. School of Computer Science, The University of Sydney, Sydney, NSW, Australia

Abstract

The huge data volumes, big data, and the emergence of new parallel architectures lead to revisiting classic computer science topics. The motivation of the proposed work for revisiting the parallel k -way in-place merging is primarily related to the unsuitability of the current state-of-the-art parallel algorithms for multicore CPUs with shared memory. These architectures can be profitably employed to solve this problem in parallel. Recently, Intel introduced the parallel Standard Template Library (STL) implementation for multicore CPUs, but it has no in-place merge function with the in-place property. We propose Partition-Shuffle-merge ( PS-merge ) to address this problem. PS-merge includes combining sequence partitioning with the in-place perfect shuffle effect to address the k -way merge task. At first, each sequence is divided into t equal-sized partitions or ranges. Thus, each partition is spread over at most k sequences. Then, perfect shuffle is utilized as a replacement for the classic block rearrangement. Finally, range subpartitions are merged using a sequential in-place merging algorithm. To evaluate the proposed algorithm, as PS-merge produces the standard merging format, we compare this algorithm against the state-of-the-art methods, bitonic merge, a parallel binary merge tree, and lazy-merge. PS-merge shows a significant improvement in overall execution time.

Funder

National Key R&D Program of China

National Natural Science Foundation of China

Publisher

Association for Computing Machinery (ACM)

Subject

Computational Theory and Mathematics,Computer Science Applications,Hardware and Architecture,Modelling and Simulation,Software

Reference33 articles.

1. Avmoskal. 2018. Get Started with Parallel STL. Retrieved from https://software.intel.com/en-us/get-started-with-pstl. Avmoskal. 2018. Get Started with Parallel STL. Retrieved from https://software.intel.com/en-us/get-started-with-pstl.

2. A new constant-time parallel algorithm for merging;Bahig Hazem M.;J. Supercomput.,2018

3. Beyond Binary Search: Parallel In-Place Construction of Implicit Search Tree Layouts

Cited by 4 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. $k$-Way In-Place Merge by CPU-GPU Cooperative Processing;2024 IEEE 35th International Conference on Application-specific Systems, Architectures and Processors (ASAP);2024-07-24

2. Big data processing with 1D-Crosspoint Arrays;International Journal of Parallel, Emergent and Distributed Systems;2023-02-27

3. PI-sqrt: novel parallel implementations of in-place sequence rotation on multicore systems;Cluster Computing;2022-04-18

4. A Constraint-aware Ridesharing Service Guaranteeing Quality-of-Service for Smart Cities;2021 IEEE International Conference on Services Computing (SCC);2021-09

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3