A study about differences in performance with parallel and sequential sorting algorithms

Background: Sorting algorithms are an essential part of computer science. With the use of parallelism, these algorithms performance can improve. Objectives: To assess parallel sorting algorithms performance compared with their sequential counterparts and see what contextual factors make a difference...

Full description

Bibliographic Details
Main Author: Nyholm, Joel
Format: Others
Language:English
Published: Blekinge Tekniska Högskola, Institutionen för programvaruteknik 2021
Subjects:
Online Access:http://urn.kb.se/resolve?urn=urn:nbn:se:bth-21469
id ndltd-UPSALLA1-oai-DiVA.org-bth-21469
record_format oai_dc
spelling ndltd-UPSALLA1-oai-DiVA.org-bth-214692021-06-12T17:25:17ZA study about differences in performance with parallel and sequential sorting algorithmsengNyholm, JoelBlekinge Tekniska Högskola, Institutionen för programvaruteknik2021Sorting algorithmsOperating systemsParallelismPerformanceComputer SciencesDatavetenskap (datalogi)Background: Sorting algorithms are an essential part of computer science. With the use of parallelism, these algorithms performance can improve. Objectives: To assess parallel sorting algorithms performance compared with their sequential counterparts and see what contextual factors make a difference in performance. Methods: An experiment was made with quicksort, merge sort, load-balanced parallel merge sort and hyperquicksort. These algorithms executed on Ubuntu 20.10 and Windows 10 Home with three data sets, small (106 integers), medium (5  106 integers) and large (107 integers). Each algorithm executed 1 000 times per data set within each operating system resulting in 6 000 executions per sorting algorithm.  Results: With the data from the executions, it was concluded that hyperquicksort had the fastest execution time. On average load-balanced parallel merge sort had the slowest execution time. The fastest operating system was Ubuntu 20.10, all but one algorithm executed faster on Ubuntu. Conclusions: The results showed that the fastest algorithm was hyperquicksort, but other conclusions also arose. The data set size correlated with both the execution time and speedup for a given parallel sorting algorithm. When the data set size increased, both the execution time and the speedup increased. Student thesisinfo:eu-repo/semantics/bachelorThesistexthttp://urn.kb.se/resolve?urn=urn:nbn:se:bth-21469application/pdfinfo:eu-repo/semantics/openAccess
collection NDLTD
language English
format Others
sources NDLTD
topic Sorting algorithms
Operating systems
Parallelism
Performance
Computer Sciences
Datavetenskap (datalogi)
spellingShingle Sorting algorithms
Operating systems
Parallelism
Performance
Computer Sciences
Datavetenskap (datalogi)
Nyholm, Joel
A study about differences in performance with parallel and sequential sorting algorithms
description Background: Sorting algorithms are an essential part of computer science. With the use of parallelism, these algorithms performance can improve. Objectives: To assess parallel sorting algorithms performance compared with their sequential counterparts and see what contextual factors make a difference in performance. Methods: An experiment was made with quicksort, merge sort, load-balanced parallel merge sort and hyperquicksort. These algorithms executed on Ubuntu 20.10 and Windows 10 Home with three data sets, small (106 integers), medium (5  106 integers) and large (107 integers). Each algorithm executed 1 000 times per data set within each operating system resulting in 6 000 executions per sorting algorithm.  Results: With the data from the executions, it was concluded that hyperquicksort had the fastest execution time. On average load-balanced parallel merge sort had the slowest execution time. The fastest operating system was Ubuntu 20.10, all but one algorithm executed faster on Ubuntu. Conclusions: The results showed that the fastest algorithm was hyperquicksort, but other conclusions also arose. The data set size correlated with both the execution time and speedup for a given parallel sorting algorithm. When the data set size increased, both the execution time and the speedup increased.
author Nyholm, Joel
author_facet Nyholm, Joel
author_sort Nyholm, Joel
title A study about differences in performance with parallel and sequential sorting algorithms
title_short A study about differences in performance with parallel and sequential sorting algorithms
title_full A study about differences in performance with parallel and sequential sorting algorithms
title_fullStr A study about differences in performance with parallel and sequential sorting algorithms
title_full_unstemmed A study about differences in performance with parallel and sequential sorting algorithms
title_sort study about differences in performance with parallel and sequential sorting algorithms
publisher Blekinge Tekniska Högskola, Institutionen för programvaruteknik
publishDate 2021
url http://urn.kb.se/resolve?urn=urn:nbn:se:bth-21469
work_keys_str_mv AT nyholmjoel astudyaboutdifferencesinperformancewithparallelandsequentialsortingalgorithms
AT nyholmjoel studyaboutdifferencesinperformancewithparallelandsequentialsortingalgorithms
_version_ 1719409959991508992