An Evaluation of Threaded Models for a Classical MD Proxy Application

Pietro Cicotti, S. Mniszewski, L. Carrington
{"title":"An Evaluation of Threaded Models for a Classical MD Proxy Application","authors":"Pietro Cicotti, S. Mniszewski, L. Carrington","doi":"10.1109/Co-HPC.2014.6","DOIUrl":null,"url":null,"abstract":"Exascale systems will have many-core nodes, less memory capacity per core than today's systems, and a large degree of performance variability between cores. All these conditions challenge bulk synchronous SPMD models in which execution is typically synchronous and communication is based on buffers and ghost regions.We explore the design of a multithreaded MD code to evaluate several tradeoffs that arise when converting an MPI application into a hybrid multithreaded application, to address the aforementioned constraints of future architectures.Using OpenMP and PThreads, we implemented several variants of CoMD, a molecular dynamics proxy application. We found that in CoMD, duplicating some of the work to avoid race conditions is an easier and more scalable solution than using atomic updates; that data allocation and placement can be controlled to some extent with a hybrid MPI+threads approach, though an explicit NUMA API to control locality may be desirable; and finally that dynamically scheduling the work within a process can mitigate the impact of performance variability among cores and preserve most of the performance, especially when compared to bulk synchronous implementations such as the MPI reference.","PeriodicalId":136638,"journal":{"name":"2014 Hardware-Software Co-Design for High Performance Computing","volume":"103 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2014-11-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"14","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2014 Hardware-Software Co-Design for High Performance Computing","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/Co-HPC.2014.6","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 14

Abstract

Exascale systems will have many-core nodes, less memory capacity per core than today's systems, and a large degree of performance variability between cores. All these conditions challenge bulk synchronous SPMD models in which execution is typically synchronous and communication is based on buffers and ghost regions.We explore the design of a multithreaded MD code to evaluate several tradeoffs that arise when converting an MPI application into a hybrid multithreaded application, to address the aforementioned constraints of future architectures.Using OpenMP and PThreads, we implemented several variants of CoMD, a molecular dynamics proxy application. We found that in CoMD, duplicating some of the work to avoid race conditions is an easier and more scalable solution than using atomic updates; that data allocation and placement can be controlled to some extent with a hybrid MPI+threads approach, though an explicit NUMA API to control locality may be desirable; and finally that dynamically scheduling the work within a process can mitigate the impact of performance variability among cores and preserve most of the performance, especially when compared to bulk synchronous implementations such as the MPI reference.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
经典MD代理应用程序的线程模型评价
Exascale系统将有许多核心节点,每个核心的内存容量比现在的系统要少,并且核心之间的性能差异很大。所有这些条件都对批量同步SPMD模型提出了挑战,在这些模型中,执行通常是同步的,通信基于缓冲区和虚区。我们探讨了多线程MD代码的设计,以评估将MPI应用程序转换为混合多线程应用程序时出现的几种权衡,以解决前面提到的未来架构的限制。使用OpenMP和PThreads,我们实现了CoMD(一个分子动力学代理应用程序)的几个变体。我们发现,在CoMD中,与使用原子更新相比,复制一些工作以避免竞态条件是一种更容易且更具可扩展性的解决方案;数据的分配和放置可以在一定程度上通过MPI+线程的混合方法来控制,尽管一个显式的NUMA API来控制局部性可能是可取的;最后,动态调度进程内的工作可以减轻内核之间性能变化的影响,并保持大部分性能,特别是与MPI参考等批量同步实现相比。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Abstract Machine Models and Proxy Architectures for Exascale Computing Design and Analysis of a 32-bit Embedded High-Performance Cluster Optimized for Energy and Performance mPPM, Viewed as a Co-Design Effort An Implementation of Block Conjugate Gradient Algorithm on CPU-GPU Processors Performance and Energy Evaluation of CoMD on Intel Xeon Phi Co-processors
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1