Performance evaluation of parallel programming in virtual machine environment

  • Cong Xu*
  • , Yuebin Bai
  • , Cheng Luo
  • *Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

As multi-core processors become increasingly mainstream, architects have likewise become more interested in how best to make use of the computing capacity of the CPU, for instance, through multiple simultaneous threads or processes of execution with OpenMP or MPI. At the same time, the increasingly mature and prevailing virtualization technique in server consolidation and HPC promotes the emergence of a large number of virtual SMP servers. Therefore, whether the parallel program can run in the virtual machine environment efficiently or not is a topic of concern. In this paper, we investigate the performance of three typical parallel programming paradigms, including OpenMP, MPI, and Hybrid of OpenMP and MPI in the popular, open-source, Xen virtualization system. The results show that the performance of the traditional parallel program in Xen VMs is close to it in native, non-virtualized environment, if there is little communication or synchronization between threads or processes. In most cases, without excessive IO access, we can get an ideal speedup in a SMP VM or virtual cluster, which is close to linearity when the total virtual CPUs (vCPUs) number is not larger than the number of Physical CPUs (pCPUs). And the pure MPI implementation shows the best scalability and stability in virtual machine environment compared with the other two paradigms.

Original languageEnglish
Title of host publicationNPC 2009 - 6th International Conference on Network and Parallel Computing
Pages140-147
Number of pages8
DOIs
StatePublished - 2009
EventNPC 2009 - 6th International Conference on Network and Parallel Computing - Gold Coast, QLD, Australia
Duration: 19 Oct 200921 Oct 2009

Publication series

NameNPC 2009 - 6th International Conference on Network and Parallel Computing

Conference

ConferenceNPC 2009 - 6th International Conference on Network and Parallel Computing
Country/TerritoryAustralia
CityGold Coast, QLD
Period19/10/0921/10/09

Fingerprint

Dive into the research topics of 'Performance evaluation of parallel programming in virtual machine environment'. Together they form a unique fingerprint.

Cite this