Optimizing Remote Communication in X10

Author:

Thangamani Arun1,Nandivada V. Krishna1

Affiliation:

1. IIT Madras, Chennai

Abstract

X10 is a partitioned global address space programming language that supports the notion of places ; a place consists of some data and some lightweight tasks called activities. Each activity runs at a place and may invoke a place-change operation (using the at-construct) to synchronously perform some computation at another place. These place-change operations can be very expensive, as they need to copy all the required data from the current place to the remote place. However, identifying the necessary number of place-change operations and the required data during each place-change operation are non-trivial tasks, especially in the context of irregular applications (like graph applications) that contain complex code with large amounts of cross-referencing objects—not all of those objects may be actually required, at the remote place. In this article, we present AT-Com, a scheme to optimize X10 code with place-change operations. AT-Com consists of two inter-related new optimizations: (i) AT-Opt, which minimizes the amount of data serialized and communicated during place-change operations, and (ii) AT-Pruning, which identifies/elides redundant place-change operations and does parallel execution of place-change operations. AT-Opt uses a novel abstraction, called abstract-place-tree , to capture place-change operations in the program. For each place-change operation, AT-Opt uses a novel inter-procedural analysis to precisely identify the data required at the remote place in terms of the variables in the current scope. AT-Opt then emits the appropriate code to copy the identified data-items to the remote place. AT-Pruning introduces a set of program transformation techniques to emit optimized code such that it avoids the redundant place-change operations. We have implemented AT-Com in the x10v2.6.0 compiler and tested it over the IMSuite benchmark kernels. Compared to the current X10 compiler, the AT-Com optimized code achieved a geometric mean speedup of 18.72× and 17.83× on a four-node (32 cores per node) Intel and two-node (16 cores per node) AMD system, respectively.

Funder

SERB core research

Publisher

Association for Computing Machinery (ACM)

Subject

Hardware and Architecture,Information Systems,Software

Reference28 articles.

1. S. Agarwal R. Barik V. K. Nandivada R. K. Shyamasundar and P. Varma. 2008. Static detection of place locality and elimination of runtime checks. In APLAS G. Ramalingam (Ed.). San Francisco CA 53--74. S. Agarwal R. Barik V. K. Nandivada R. K. Shyamasundar and P. Varma. 2008. Static detection of place locality and elimination of runtime checks. In APLAS G. Ramalingam (Ed.). San Francisco CA 53--74.

2. S. Agarwal R. Barik V. Sarkar and R. K. Shyamasundar. March 2007. May-happen-in-parallel analysis of X10 programs. In PPoPP. 183--193. DOI:https://doi.org/10.1145/1229428.1229471 S. Agarwal R. Barik V. Sarkar and R. K. Shyamasundar. March 2007. May-happen-in-parallel analysis of X10 programs. In PPoPP. 183--193. DOI:https://doi.org/10.1145/1229428.1229471

3. M. Alvanos M. Farreras E. Tiotto J. N. Amaral and X. Martorell. 2013. Improving communication in PGAS environments: Static and dynamic coalescing in UPC. In ICS. 129--138. DOI:https://doi.org/10.1145/2464996.2465006 M. Alvanos M. Farreras E. Tiotto J. N. Amaral and X. Martorell. 2013. Improving communication in PGAS environments: Static and dynamic coalescing in UPC. In ICS. 129--138. DOI:https://doi.org/10.1145/2464996.2465006

4. R. Barik and V. Sarkar. September 2009. Interprocedural load elimination for dynamic optimization of parallel programs. In PACT. 41--52. DOI:https://doi.org/10.1109/PACT.2009.32 R. Barik and V. Sarkar. September 2009. Interprocedural load elimination for dynamic optimization of parallel programs. In PACT. 41--52. DOI:https://doi.org/10.1109/PACT.2009.32

5. R. Barik J. Zhao D. Grove I. Peshansky Z. Budimlic and V. Sarkar. 2011. Communication optimizations for distributed-memory X10 programs. In IPDPS. 1101--1113. DOI:https://doi.org/10.1109/IPDPS.2011.105 R. Barik J. Zhao D. Grove I. Peshansky Z. Budimlic and V. Sarkar. 2011. Communication optimizations for distributed-memory X10 programs. In IPDPS. 1101--1113. DOI:https://doi.org/10.1109/IPDPS.2011.105

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3