首页> 外文会议>2010 IEEE International Conference on Cluster Computing >Minimizing MPI Resource Contention in Multithreaded Multicore Environments
【24h】

Minimizing MPI Resource Contention in Multithreaded Multicore Environments

机译:在多线程多核环境中最小化MPI资源争用

获取原文

摘要

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.
机译:随着高性能计算系统中每个节点核心数量的不断增加,越来越多的应用程序正在使用线程来利用节点内的共享内存和跨节点的MPI。这种混合编程模型需要对多线程MPI通信的有效支持。在本文中,我们描述了多线程MPI实现的一个方面的优化:从多个线程到各种MPI对象(例如通信器,数据类型和请求)的并发访问。这些对象的创建,使用和销毁的语义意味着但不严格要求使用引用计数来防止内存泄漏和对象过早销毁。我们演示了通过引用计数对MPI对象管理进行幼稚的多线程实现会如何导致显着的性能损失。然后,我们详细介绍了我们已经在MPICH2中实现以几乎完全缓解该问题的两种解决方案,其中包括一种基于新颖的垃圾回收方案的解决方案。在我们的性能实验中,这种新方案比单纯的引用计数方法将多线程消息传递率提高了31%。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号