• DocumentCode
    2281251
  • Title

    Parallel Optimization Strategy of Heap Sort Algorithm under Multi-core Environment

  • Author

    Zhenhua, Wei ; Zhifeng, Liu ; Guoliang, Li

  • fYear
    2015
  • fDate
    13-14 June 2015
  • Firstpage
    768
  • Lastpage
    771
  • Abstract
    With the popularity of multi-core and many-core platform, multi-core-oriented parallel programming and optimization has become a research hotspot in computer field. However, the vast majority of programmers are still continuing the traditional serial programming habits. Meanwhile, the mainstream algorithms are still in serial. Therefore, how to parallelize the serial programs effectively and write the multi-core programs efficiently is becoming an urgent problem in the field of multi-core programming. In this paper, the optimization of the heap sort algorithm has been achieved adopting the parallel technology based on openMP. Firstly, based on the hypercube model, the heap data to be sorted are divided into n (n is the computer thread amount) blocks called sub-heap which will be sorted respectively. Thus, the scale of the problem is decomposed into 1/n, secondly, the sorted sub-heaps will be merged using merge sort algorithm, finally, the parallel optimized heap sort algorithm is compared to the traditional heap sort algorithm. When the data quantity comes up to ten million bytes, the execution efficiency of the optimized parallel heap sort algorithm of this paper is improved significantly compared with the traditional serial heap sort algorithm on the experimental computer. Furthermore, the efficiency gap between the two algorithms will be intensified prominently with the increasing data quantity.
  • Keywords
    Algorithm design and analysis; Computational modeling; Computers; Hypercubes; Instruction sets; Optimization; Sorting; Heap Sort Algorithm; Hypercube Model; Multi-core; OpenMP; Parallel Optimization;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Measuring Technology and Mechatronics Automation (ICMTMA), 2015 Seventh International Conference on
  • Conference_Location
    Nanchang, China
  • Print_ISBN
    978-1-4673-7142-1
  • Type

    conf

  • DOI
    10.1109/ICMTMA.2015.190
  • Filename
    7263684