International Journal of Computer Applications |
Foundation of Computer Science (FCS), NY, USA |
Volume 145 - Number 10 |
Year of Publication: 2016 |
Authors: Tinku Singh, Durgesh Kumar Srivastava |
10.5120/ijca2016910792 |
Tinku Singh, Durgesh Kumar Srivastava . Threshold Analysis and Comparison of Sequential and Parallel Divide and Conquer Sorting Algorithms. International Journal of Computer Applications. 145, 10 ( Jul 2016), 28-33. DOI=10.5120/ijca2016910792
One of the basic problems in computer science is sorting that need to be fast and efficient, since data is growing day by day. Various applications need fast sorting algorithms like Big Data analyses particularly in large scale scientific, social/web mining and commercial application domains. Divide and conquer Sorting Algorithms (Quick sort and merge sort) provides the best running time among all the sorting algorithms. When parallelism is applied to these algorithms, new performance leaps are accomplished. Recent parallel programming procedures and environment needs profound changes in programs to accomplish parallelism furthermore constitute puzzling, confounding and mistake inclined constructs and standards. When the number of processors utilization gets large, the overhead of thread synchronization and processor scheduling gets increase, this diminishes the speedup. In this paper, two algorithms are designed using C# viz. parallel quick sort and parallel merge sort that uses Parallel.Invoke() method. Both algorithms when executed over multicore architecture compute the threshold beyond which the above mentioned algorithms achieve speedup in comparison to its sequential version, Also threshold is calculated and compared for both the algorithms for uneven input size.