• DocumentCode
    2549409
  • Title

    Minimizing MPI Resource Contention in Multithreaded Multicore Environments

  • Author

    Goodell, David ; Balaji, Pavan ; Buntinas, Darius ; Dózsa, Gábor ; Gropp, William ; Kumar, Sameer ; de Supinski, Bronis R. ; Thakur, Rajeev

  • Author_Institution
    Argonne Nat. Lab., Argonne, IL, USA
  • fYear
    2010
  • fDate
    20-24 Sept. 2010
  • Firstpage
    1
  • Lastpage
    8
  • Abstract
    With the ever-increasing numbers of cores per node in high-performance computing systems, a growing number of applications are using threads to exploit shared memory within a node and MPI across nodes. This hybrid programming model needs efficient support for multithreaded MPI communication. In this paper, we describe the optimization of one aspect of a multithreaded MPI implementation: concurrent accesses from multiple threads to various MPI objects, such as communicators, datatypes, and requests. The semantics of the creation, usage, and destruction of these objects implies, but does not strictly require, the use of reference counting to prevent memory leaks and premature object destruction. We demonstrate how a naive multithreaded implementation of MPI object management via reference counting incurs a significant performance penalty. We then detail two solutions that we have implemented in MPICH2 to mitigate this problem almost entirely, including one based on a novel garbage collection scheme. In our performance experiments, this new scheme improved the multithreaded messaging rate by up to 31% over the naive reference counting method.
  • Keywords
    message passing; minimisation; multi-threading; shared memory systems; MPI object management; MPI resource contention minimization; high-performance computing systems; hybrid programming model; memory leak prevention; multithreaded MPI communication; multithreaded messaging rate; multithreaded multicore environments; reference counting; shared memory; Benchmark testing; Instruction sets; Message systems; Resource management; Semantics; TV; Transient analysis;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Cluster Computing (CLUSTER), 2010 IEEE International Conference on
  • Conference_Location
    Heraklion, Crete
  • Print_ISBN
    978-1-4244-8373-0
  • Electronic_ISBN
    978-0-7695-4220-1
  • Type

    conf

  • DOI
    10.1109/CLUSTER.2010.11
  • Filename
    5600326