Building Scalable PGAS Communication Subsystem on Blue Gene/Q

Building Scalable PGAS Communication Subsystem on Blue Gene/Q

Building Scalable PGAS Communication Subsystem on Blue Gene/Q Abhinav Vishnu #1 Darren Kerbyson #2 Kevin Barker #3 Hubertus van Dam #4 #1;2;3 Performance and Architecture Lab, Pacific Northwest National Laboratory, 902 Battelle Blvd, Richland, WA 99352 #4 Computational Chemistry Group, Pacific Northwest National Laboratory, 902 Battelle Blvd, Richland, WA 99352 1 [email protected] 2 [email protected] 3 [email protected] 4 [email protected] Abstract—This paper presents a design of scalable Par- must harness the architectural capabilities and address the titioned Global Address Space (PGAS) communication sub- hardware limitations to scale the PGAS models. systems on recently proposed Blue Gene/Q architecture. The This paper presents a design of scalable PGAS commu- proposed design provides an in-depth modeling of communica- tion infrastructure using Parallel Active Messaging Interface nication subsystem on Blue Gene/Q. The proposed frame- (PAMI). The communication infrastructure is used to design work involves designing time-space efficient communication time-space efficient communication protocols for frequently protocols for frequently used datatypes such as contiguous, used data-types (contiguous, uniformly non-contiguous) with uniformly non-contiguous with Remote Direct Memory Ac- Remote Direct Memory Access (RDMA) get/put primitives. cess (RDMA). The proposed design accelerates the load The proposed design accelerates load balance counters by using asynchronous threads, which are required due to the balance counters, frequently used in applications such as missing network hardware support for generic Atomic Memory NWChem [11] using asynchronous threads. The design Operations (AMOs). Under the proposed design, the synchro- space involves alleviating unnecessary synchronization by nization traffic is reduced by tracking conflicting memory setting up status bit for memory regions. An implementation accesses in distributed memory with a slight increment in space and evaluation of the proposed design with Aggregate Re- complexity. An evaluation with simple communication bench- marks show a adjacent node get latency of 2.89µs and peak mote Memory Copy Interface (ARMCI) [12] shows a get la- bandwidth of 1775 MB/s resulting in ≈ 99% communication tency of 2.89 µs and bandwidth of 1775 MB/s resulting in ≈ efficiency.The evaluation shows a reduction in the execution 99% communication efficiency. The load balance counters, time by up to 30% for NWChem self consistent field calculation accelerated using asynchronous thread based design reduce on 4096 processes using the proposed asynchronous thread the execution time of NWChem [11] by up to 30% using based design. Self Consistent Field (SCF) theory on 4096 processes. A. Contributions: I. INTRODUCTION Specifically, the contributions of the paper are: IBM Blue Gene/Q is a recently proposed system-on-a- • Detailed time-space complexity models of PGAS com- chip architecture with a potential for building supercomput- munication systems using Parallel Active Messaging In- ers with a peak performance of tens of PetaFlop/s (PF/s) [1], terface (PAMI) [13]. The paper contributes algorithms [2]. At this massive scale, revisiting the programming mod- for datatypes (contiguous, uniformly non-contiguous) els, which can effectively leverage the architecture is essen- get/put communication and efficient handling of con- tial. An exploration of alternative/complimentary program- flicting memory accesses, while providing location con- ming models to the ubiquitous Message Passing Interface sistency [14]. (MPI) [3], [4] is being undertaken by Partitioned Global • Application driven use-case to show that RDMA is nec- Address Space (PGAS) models such as Global Arrays [5], essary, but not sufficient for PGAS models. An asyn- Unified Parallel C (UPC) [6], Co-Array Fortran [7], IBM chronous thread based design is presented to address X10 [8] and Chapel [9]. PGAS models rely on scalable the hardware limitations for load balance counters. distribution of frequently used data structures (arrays/trees), • An in-depth performance evaluation and analysis using and asynchronous read/writes (get/put) to these structures communication benchmarks with datatypes, load/store for load balancing, work-stealing and resiliency [10]. An (get/put) operations, atomic memory operations us- essential component of the PGAS models is the underlying ing up to 4096 processes. Performance analysis with communication infrastructure. The communication infras- NWChem [11] using Self Consistent Field (SCF) high- tructure provides abstractions for remote memory access lights a need for asynchronous threads for load balanc- (RMA), active messages (AM), atomic memory operations ing, and a need for network hardware support in future (AMOs), and synchronization. The communication runtime Blue Gene architecture. The rest of the paper is organized as follows: Section II B. Aggregate Remote Memory Copy Interface provides a background of our work. Section III provides a ARMCI [12] is a scalable communication runtime sys- solution space for designing scalable PGAS communication tem which provides communication interfaces for remote subsystem, time-space tradeoff of communication protocols memory access models. ARMCI provides communica- for datatypes, accelerating atomic memory operations and tion primitives for data-types (contiguous, uniformly non- implementation details. Section IV provides a performance contiguous and general I/O vector), atomic memory opera- evaluation of the proposed design using communication tions (AMOs) and synchronization. It provides primitives for benchmarks, and NWChem [11], a high performance com- collective/non-collective memory allocation, atomic memory putation chemistry application designed using Global Ar- operations (fetch-and-add, compare-and-swap), bulk accu- rays [5]. Section V provides related work on designing mulate operations and lock/unlock operations. ARMCI sup- scalable communication subsystems. ports the location consistency model [14]. The primitives support pairwise and collective memory synchronization. II. BACKGROUND Support for non-blocking communication interfaces with explicit and implicit handles are supported, which follow This section provides a background for designing scal- buffer reuse semantics similar to MPI [3], [4]. able PGAS communication subsystem for Blue Gene/Q. A The Global Arrays programming model provides abstrac- description of Blue Gene/Q [1] and ARMCI [12] is provided tions for distributed arrays and leverages the communication as follows. primitives provided by ARMCI. Global Arrays programming model has been used for designing many scalable applica- A. Blue Gene/Q Architecture tions in domains such as chemistry [11] and sub-surface modeling [15]. ARMCI leverages the low level network Blue Gene/Q is the third supercomputer design in the Blue primitives provided by modern networks and multi-core Gene series. It continues to expand and enhance the Blue systems. It is supported on clusters with commodity inter- Gene/L and /P architectures. The Blue Gene/Q Compute connects (InfiniBand [16], Ethernet) and high-end systems chip is an 18 core chip. The 64-bit PowerPC A2 processor (IBM BG/P, Cray XTs, Cray XE6/XK6 [17], [18]). This cores are 4-way simultaneously multi-threaded (SMT), and paper primarily focusses on designing a scalable PGAS com- run at 1.6 GHz. Each processor core has a SIMD Quad- munication layer for Blue Gene/Q systems using ARMCI. vector double precision floating point unit, the QPU, after which the system is named. The processor cores are linked III. SCALABLE ARMCI DESIGN ON BLUE GENE/Q by a crossbar switch to a 32 MB eDRAM L2 cache. The L2 cache is multi-versioned, supports transactional memory and This section begins with a brief overview of Parallel speculative execution, and has hardware support for atomic Active Messaging Interface (PAMI). This is followed by a operations [2]. L2 cache misses are handled by two built-in discussion of preliminaries: time-space utilization of scal- DDR3 memory running at 1.33 GHz [1], [2]. 16 Processor able communication protocols for ARMCI using PAMI cores are used for computing, and a 17th core for operating communication library. This is followed by a detailed de- system assist functions such as interrupts, and asynchronous scription of scalable communication protocols for load/store I/O. The 18th core is fused out. (get/put) primitives with data-types (contiguous, uniformly Blue Gene/Q Compute nodes are interconnected using a non-contiguous). The subsequent section makes a strong 5D torus configuration with ten 2 GB/s bidirectional links. case for using asynchronous threads. The section concludes 5D torus increases the bisection bandwidth in comparison to with important implementation details to reduce network Blue Gene/P, increases the partitioning capacity and reduces synchronization traffic in order to maintain location consis- the system diameter. Barrier and Collective communication tency [14]. network are integrated with the torus network. Blue Gene/Q A. Overview of IBM Parallel Active Messaging Interface supports deterministic and dynamic routing. However, the (PAMI) software interfaces at the point of paper submission support deterministic routing only. Blue Gene/Q provides rich soft- IBM Parallel Active Messaging Interface (PAMI) is a ware primitives for Active Messages and Remote Memory recently proposed communication interface for Active Mes- Access (RMA) model using Parallel Active Messaging Inter-

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    9 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us