[논문 리뷰] HPX -- An open source C++ Standard Library for Parallelism and Concurrency
HPX는 비동기 작업 기반 병렬성과 글로벌 어드레스 공간을 가능하게 하는 오픈 소스 C++ 표준에 부합하는 AMT 런타임으로, 이기종 하드웨어에서 HPC 애플리케이션의 확장을 목표로 한다. GPU 통합, STORM/STAR 애플리케이션 및 오픈 소스 커뮤니티 개발과의 통합을 시연한다.
To achieve scalability with today's heterogeneous HPC resources, we need a dramatic shift in our thinking; MPI+X is not enough. Asynchronous Many Task (AMT) runtime systems break down the global barriers imposed by the Bulk Synchronous Programming model. HPX is an open-source, C++ Standards compliant AMT runtime system that is developed by a diverse international community of collaborators called The Ste||ar Group. HPX provides features which allow application developers to naturally use key design patterns, such as overlapping communication and computation, decentralizing of control flow, oversubscribing execution resources and sending work to data instead of data to work. The Ste||ar Group comprises physicists, engineers, and computer scientists; men and women from many different institutions and affiliations, and over a dozen different countries. We are committed to advancing the development of scalable parallel applications by providing a platform for collaborating and exchanging ideas. In this paper, we give a detailed description of the features HPX provides and how they help achieve scalability and programmability, a list of applications of HPX including two large NSF funded collaborations (STORM, for storm surge forecasting; and STAR (OctoTiger) an astro-physics project which runs at 96.8% parallel efficiency on 643,280 cores), and we end with a description of how HPX and the Ste||ar Group fit into the open source community.
연구 동기 및 목표
- MPI+X에서 비동기 다중 태스크 런타임 시스템으로의 패러다임 전환이 필요한 이유를 제시하여 노드 내 자원 및 이기종 HPC 자원을 활용한다.
- HPX의 필요성과 동기 부여를 설명한다.
- HPX의 주요 구성 요소 및 역할(스레드 매니저, AGAS, Parcel/Active Messaging, 퍼포먼스 카운터)을 기술한다.
- HPX가 futures, 채널, 데이터 흐름, CPS 기반 프로그래밍을 wait-free 비동기 실행으로 가능하게 하는 방법을 설명한다.
- CUDA 및 SYCL/디바이스 프로그래밍을 위한 HPX.Compute 및 HPXCL를 통한 이질성 통합을 제시한다.
제안 방법
- HPX 런타임 구성 요소와 그 역할(스레드 매니저, AGAS, Parcel/Active Messaging, 성능 카운터)을 설명한다.
- HPX가 futures, 채널, 데이터 흐름, CPS 기반 프로그래밍을 통해 대기 없는 비동기 실행을 가능하게 하는 원리와 구현을 설명한다.
- HPX.Compute 및 HPXCL를 통한 CUDA 및 SYCL/디바이스 프로그래밍과 이기종성에 대한 통합을 제시한다.
실험 결과
연구 질문
- RQ1HPX의 AMT 모델이 AGAS 및 Active Messaging을 갖추고 기존 BSP 모델에 비해 이기종 HPC 시스템에서 확장성을 어떻게 향상시키는가?
주요 결과
- HPX는 futures, 채널, 비동기 원시를 갖춘 C++ 표준 준수 API를 제공한다.
- HPX에는 객체 이동 및 위치 투명성을 가능하게 하는 Active Global Address Space(AGAS)가 포함되어 있다.
- HPX는 원격 호출을 위한 RPC 유사 원칭의 One-sided Parcel(Active Messaging) 모델을 사용한다.
- HPX는 적응성을 위한 여러 스케줄링 정책과 성능 카운터를 갖춘 작업 스케줄러를 포함한다.
- LibGeoDecomp, STORM(STORM surge forecasting) 및 천체물리학(OctoTiger)과 같은 애플리케이션이 대형 코어에서 높은 병렬 효율과 확장을 보여준다(예: 643,280코어에서 96.8%의 병렬 효율).
- HPX는 이기종 하드웨어(Xeon Phi Knights Corner, Cori Knights Landing)에서도 강력한 성능을 보이며 특정 시나리오에서 MPI를 능가할 수 있다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.