A Unified Runtime for PGAS and Event-Driven Programming

S. Paul, Kun Chen, Akihiro Hayashi, M. Grossman, Vivek Sarkar, Jason G. DeVinney, Bill Carlson
{"title":"A Unified Runtime for PGAS and Event-Driven Programming","authors":"S. Paul, Kun Chen, Akihiro Hayashi, M. Grossman, Vivek Sarkar, Jason G. DeVinney, Bill Carlson","doi":"10.1109/ESPM2.2018.00010","DOIUrl":null,"url":null,"abstract":"A well-recognized characteristic of extreme scale systems is that their computation bandwidths far exceed their communication bandwidths. PGAS runtimes have proven to be effective in enabling efficient use of communication bandwidth for many applications, due to their efficient support for short non- blocking one-sided messages. However, they were not designed for exploiting the massive levels of intra-node parallelism found in extreme scale systems. Thus, a key question in the use of PGAS runtimes on extreme scale platforms is: what kind of node-level runtime system should be integrated with PGAS runtimes? In this paper, we explore the premise that event-driven intra- node runtimes could be promising candidates for integration with PGAS runtimes, due to their ability to overlap useful computation with background long-latency operations. For this exploration, we use OpenSHMEM as an exemplar of PGAS runtimes, and Node.js as an exemplar of event-driven runtimes. While Node.js may seem an unusual choice for high-performance computing, its prominent role as an event-driven runtime for server-side Javascript is a good match for what we need for optimizing the use of communication bandwidth. At the same time, the availability of excess computation bandwidth in extreme scale systems can help mitigate the local computation overheads of Javascript relative to native languages such as C++. Further, since the Node.js environment is single-threaded, we get an automatic guarantee that no data races will occur on Javascript objects, a guarantee that we cannot get with C++. Our integration of Open- SHMEM and Node.js makes it possible to expose nonblocking PGAS operations as JavaScript constructs that can seamlessly be used with the JavaScript asynchronous mechanisms, such as those based on promises. We believe that the exploration and preliminary results in this paper offer a new direction for future research on building high productivity runtimes for extreme scale systems.","PeriodicalId":395686,"journal":{"name":"2018 IEEE/ACM 4th International Workshop on Extreme Scale Programming Models and Middleware (ESPM2)","volume":"83 6 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2018-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2018 IEEE/ACM 4th International Workshop on Extreme Scale Programming Models and Middleware (ESPM2)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ESPM2.2018.00010","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

Abstract

A well-recognized characteristic of extreme scale systems is that their computation bandwidths far exceed their communication bandwidths. PGAS runtimes have proven to be effective in enabling efficient use of communication bandwidth for many applications, due to their efficient support for short non- blocking one-sided messages. However, they were not designed for exploiting the massive levels of intra-node parallelism found in extreme scale systems. Thus, a key question in the use of PGAS runtimes on extreme scale platforms is: what kind of node-level runtime system should be integrated with PGAS runtimes? In this paper, we explore the premise that event-driven intra- node runtimes could be promising candidates for integration with PGAS runtimes, due to their ability to overlap useful computation with background long-latency operations. For this exploration, we use OpenSHMEM as an exemplar of PGAS runtimes, and Node.js as an exemplar of event-driven runtimes. While Node.js may seem an unusual choice for high-performance computing, its prominent role as an event-driven runtime for server-side Javascript is a good match for what we need for optimizing the use of communication bandwidth. At the same time, the availability of excess computation bandwidth in extreme scale systems can help mitigate the local computation overheads of Javascript relative to native languages such as C++. Further, since the Node.js environment is single-threaded, we get an automatic guarantee that no data races will occur on Javascript objects, a guarantee that we cannot get with C++. Our integration of Open- SHMEM and Node.js makes it possible to expose nonblocking PGAS operations as JavaScript constructs that can seamlessly be used with the JavaScript asynchronous mechanisms, such as those based on promises. We believe that the exploration and preliminary results in this paper offer a new direction for future research on building high productivity runtimes for extreme scale systems.
PGAS和事件驱动编程的统一运行时
极端规模系统的一个众所周知的特征是它们的计算带宽远远超过它们的通信带宽。PGAS运行时已被证明能够有效地利用许多应用程序的通信带宽,因为它们有效地支持短的非阻塞单边消息。然而,它们不是为利用极端规模系统中发现的大规模节点内并行性而设计的。因此,在极端规模平台上使用PGAS运行时的一个关键问题是:什么样的节点级运行时系统应该与PGAS运行时集成?在本文中,我们探讨了一个前提,即事件驱动的节点内运行时可能是与PGAS运行时集成的有希望的候选者,因为它们能够将有用的计算与后台长延迟操作重叠。在这个探索中,我们使用OpenSHMEM作为PGAS运行时的范例,使用Node.js作为事件驱动运行时的范例。虽然对于高性能计算来说,Node.js似乎是一个不寻常的选择,但它作为服务器端Javascript的事件驱动运行时的突出角色,很适合我们优化通信带宽的使用。与此同时,在极端规模的系统中,多余的计算带宽的可用性可以帮助减轻Javascript相对于本地语言(如c++)的本地计算开销。此外,由于Node.js环境是单线程的,我们可以自动保证Javascript对象上不会出现数据争用,这是c++无法提供的保证。我们对Open- SHMEM和Node.js的集成使得将非阻塞PGAS操作作为JavaScript构造公开成为可能,这些构造可以无缝地与JavaScript异步机制(例如基于承诺的机制)一起使用。我们相信本文的探索和初步结果为未来构建极端规模系统的高生产率运行库提供了新的研究方向。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书