eISSN 2231-8879
Published by:
Science & Knowledge Research Society

Listed by:

Ulrich's
Periodicals Directory

Hybrid Bubble and Merge Sort Algorithms Using Message Passing Interface
Zaid Abdi Alkareem Alyasseri, Kadhim Al-Attar, Mazin Naser Yousif
Pages: 67-73
DOI: 10.20967/jcscm.2015.04.002

Close abstract |  Download PDF
Abstract

Sorting or ordering is an arrangement of a set of items of a list in a certain order. Several sorting algorithms and methods are available. In this paper, we focus on the simplest but not highly efficient bubble sort algorithm. Rearranging parallel computing, i.e., message passing interface (MPI), it is explained why parallel architectures are now mainstream. Recently, parallel computing has become one of the most important aspects of computer science and it has showed dominance especially in the field of analyzing high-performance problems. One of the major results is the type of data structure obtained by using 3D array of char, which shows faster result, instead of using a vector of string with extra overhead. The threads (slaves) sort part of the list and return to the master thread, which merges all small lists in one final sorted list. This study shows an increase in speed and efficiency with the increase in number of threads, indicating an increase in the efficiency of bubble sort algorithm.



powered by simple cms