The Open Automation and Control Systems Journal

2013, 5 : 38-44
Published online 2013 October 30. DOI: 10.2174/1874444301305010038
Publisher ID: TOAUTOCJ-5-38

Comparison and Analysis of Parallel Computing Performance Using OpenMP and MPI

Shen Hua and Zhang Yang
Department of Electronic Engineering, Dalian Neusoft University of Information Dalian, 116023/Liaoning, China.

ABSTRACT

The developments of multi-core technology have induced big challenges to software structures. To take full advantages of the performance enhancements offered by new multi-core hardware, software programming models have made a great shift from sequential programming to parallel programming.

OpenMP (Open Multi-Processing) and MPI (Message Passing Interface), as the most common parallel programming models, can provide different performance characteristics of parallelism in different cases. This paper intends to compare and analyze the parallel computing ability between OpenMP and MPI, and then some proposals are provided in parallel programming. The processing tools used include Intel VTune Performance Analyzer and Intel Thread Checker. The findings indicate that OpenMP is in favor of implementation and provides good performance in shared memory systems , and that MPI is propitious to programming models which require nodes performing a large number of tasks and little communications in processes.

Keywords:

Parallel computing, Multi-core, multithread programming.