arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2107.05516cs.DC
收藏

一个可扩展的基于Actor的PGAS运行时编程系统

A Scalable Actor-based Programming System for PGAS Runtimes

Sri Raj Paul, Akihiro Hayashi, Kun Chen, Vivek Sarkar

摘要:

PGAS模型非常适合在基于集群的系统上执行不规则的应用程序,因为它有效地支持短的、单侧的消息。然而,PGAS应用目前面临两个主要限制。第一个与可扩展性有关:尽管在特殊情况下支持非阻塞操作的API可用,但远程位置上的许多PGAS操作默认情况下是同步的,这可能导致长延迟和可扩展性差。第二个与生产力有关:虽然对于开发人员来说,以应用程序自然的细粒度表达所有通信更简单,但实验表明,这种自然表达的性能比更高效但生产力较低的代码慢20倍,需要手动消息聚合和终止检测。在本文中,我们介绍了一个新的编程系统的PGAS应用程序,其中点对点的远程操作可以表示为细粒度的异步演员消息。在这种方法中,程序员不需要担心与消息聚合和终止检测相关的编程复杂性。我们的方法也可以被看作是扩展经典的批量同步并行模型与细粒度的异步通信在一个阶段或超步。我们相信,我们的方法提供了一个理想的点,在生产力性能空间的PGAS应用程序,具有更多的可扩展性能和更高的生产力相对于过去的方法。具体来说,对于在NERSC Cori系统中使用2048个内核执行的Bale基准套件中的7个不规则迷你应用程序,我们的方法显示出相对于标准PGAS版本(UPC和OpenSHMEM)的几何平均性能提高>= 20倍,同时保持与这些版本相当的生产力。

英文摘要:

The PGAS model is well suited for executing irregular applications on cluster-based systems, due to its efficient support for short, one-sided messages. However, there are currently two major limitations faced by PGAS applications. The first relates to scalability: despite the availability of APIs that support non-blocking operations in special cases, many PGAS operations on remote locations are synchronous by default, which can lead to long-latency stalls and poor scalability. The second relates to productivity: while it is simpler for the developer to express all communications at a fine-grained granularity that is natural to the application, experiments have shown that such a natural expression results in performance that is 20x slower than more efficient but less productive code that requires manual message aggregation and termination detection. In this paper, we introduce a new programming system for PGAS applications, in which point-to-point remote operations can be expressed as fine-grained asynchronous actor messages. In this approach, the programmer does not need to worry about programming complexities related to message aggregation and termination detection. Our approach can also be viewed as extending the classical Bulk Synchronous Parallelism model with fine-grained asynchronous communications within a phase or superstep. We believe that our approach offers a desirable point in the productivity-performance space for PGAS applications, with more scalable performance and higher productivity relative to past approaches. Specifically, for seven irregular mini-applications from the Bale benchmark suite executed using 2048 cores in the NERSC Cori system, our approach shows geometric mean performance improvements of >=20x relative to standard PGAS versions (UPC and OpenSHMEM) while maintaining comparable productivity to those versions.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑