Parallel Implementation of Dutch Flag Sorting Algorithm Using MPI and CUDA

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

This paper focuses on improving the performance of the Dutch flag sorting algorithm for large datasets with many duplicates using parallel computing techniques. Traditional quicksort struggles with many comparisons and swaps, especially with repeated elements. By partitioning the data into three sections—values less than, equal to, and greater than a pivot—the three-way quicksort eliminates unnecessary steps, enhancing efficiency. The study explores parallel versions of Dutch flag sort using Compute Unified Device Architecture (CUDA) for GPU acceleration and Message Passing Interface (MPI) for distributed systems, comparing their speed and scalability. The parallel implementations leverage the computational power of modern architectures to handle large-scale datasets with exceptional speed and efficiency. The findings include comparative performance metrics, such as sorting 1,500,000 elements in 74.4 ms sequentially, 3.089 ms with MPI, and 0.530 ms using CUDA. The proposed parallel implementations are expected to significantly improve sorting speed, particularly for datasets with frequent duplicates, making them ideal for applications in database systems and large-scale data analysis. The findings suggest that parallel three-way quicksort could be a reliable option for high-performance computing environments, improving sorting efficiency across various domains.

Original languageEnglish
Title of host publicationRecent Trends in Artificial Intelligence and Data Sciences - Select Proceedings of the 15th International Conference, CONFLUENCE 2025
EditorsSumit Kumar, Garima Aggarwal, Bhuvan Unhelkar, Raju Pal
PublisherSpringer Science and Business Media Deutschland GmbH
Pages479-489
Number of pages11
ISBN (Print)9789819692026
DOIs
Publication statusPublished - 2025
Event15th International Conference on Recent Trends in Artificial Intelligence and Data Sciences, CONFLUENCE 2025 - New Delhi, India
Duration: 16-01-202517-01-2025

Publication series

NameLecture Notes in Electrical Engineering
Volume1447 LNEE
ISSN (Print)1876-1100
ISSN (Electronic)1876-1119

Conference

Conference15th International Conference on Recent Trends in Artificial Intelligence and Data Sciences, CONFLUENCE 2025
Country/TerritoryIndia
CityNew Delhi
Period16-01-2517-01-25

All Science Journal Classification (ASJC) codes

  • Industrial and Manufacturing Engineering

Fingerprint

Dive into the research topics of 'Parallel Implementation of Dutch Flag Sorting Algorithm Using MPI and CUDA'. Together they form a unique fingerprint.

Cite this