|
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. |