Empirical Analysis Measuring the Performance of Multi-threading in Parallel Merge Sort

0Citations
Citations of this article
7Readers
Mendeley users who have this article in their library.

Abstract

Sorting is one of the most frequent concerns in Computer Science, various sorting algorithms were invented for specific requirements. As these requirements and capabilities grow, sequential processing becomes inefficient. Therefore, algorithms are being enhanced to run in parallel to achieve better performance. Performing algorithms in parallel differ depending on the degree of multi-threading. This study determines the optimal number of threads to use in parallel merge sort. Furthermore, it provides a comparative analysis of various degrees of multithreading. The implementation in this empirical experiment takes a group of devices with various specifications. For each device, it takes fixed-sized data set and executes merge sort for sequential and parallel algorithms. For each device, the lowest average runtime is used to measure the efficiency of the experiment. In all experiments, single-threaded is more efficient when the data size is less than 105 since it claimed 53% of the lowest runtime than the multithreaded executions. The overall average of the experiments shows either four or eight threads, with 72% and 28%, respectively, are most efficient when data sizes exceed 105.

Cite

CITATION STYLE

APA

Altarawneh, M., Inan, U., & Elshqeirat, B. (2022). Empirical Analysis Measuring the Performance of Multi-threading in Parallel Merge Sort. International Journal of Advanced Computer Science and Applications, 13(1), 72–78. https://doi.org/10.14569/IJACSA.2022.0130110

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free