HCGrid: 하이브리드 컴퓨팅 환경에서 전파천문학을 위한 합성곱 기반 그리딩 프레임워크
HCGrid: A Convolution-based Gridding Framework for RadioAstronomy in Hybrid Computing Environments
HCGrid: A Convolution-based Gridding Framework for RadioAstronomy in Hybrid Computing Environments
@misc{wang2020hcgrid,
title = {HCGrid: A Convolution-based Gridding Framework for RadioAstronomy in Hybrid Computing Environments},
author = {Hao Wang and Ce Yu and Bo Zhang and Jian Xiao and Qi Luo},
year = {2020},
eprint = {2012.13173},
archivePrefix = {arXiv},
primaryClass = {astro-ph.IM},
url = {https://arxiv.org/abs/2012.13173}
}
Wang, H., Yu, C., Zhang, B., Xiao, J., & Luo, Q. (2020). HCGrid: A Convolution-based Gridding Framework for RadioAstronomy in Hybrid Computing Environments [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2012.13173
WANG H, YU C, ZHANG B, et al. HCGrid: A Convolution-based Gridding Framework for RadioAstronomy in Hybrid Computing Environments[EB/OL]. (2020-12-24)[2026-11-30]. https://arxiv.org/abs/2012.13173.
초록
비균형 분포된 데이터 샘플을 균일하게 분포된 그리드 위에 매핑하는 그리딩 작업은 전파 천문 데이터 감소 과정에서 핵심 단계 중 하나이다. 그리딩의 주요 병목 현상은 계산 성능 저하이며, 이를 해결하는 일반적인 방법은 다코어 CPU 플랫폼 구현이다. 이러한 방법은 일반적으로 좋은 결과를 달성할 수 있으나, 그리딩의 주요 작업 부하가 단일 명령어 다 데이터 스트림 (SIMD) 연산의 조합으로, 이는 CPU 보다 GPU 에 더 적합한 특성상 CPU 의 한계로 인해 많은 경우 그리딩 성능이 여전히 제한된다. 현대 대형 단일 접시 전파 망원경, 예를 들어 500 미터 구경 구형 전파 망원경 (FAST) 과 같은 대량 데이터 그리딩 과제를 해결하기 위해, 기존 다코어 CPU 그리딩 알고리즘 (예: Cygrid) 을 참고하여 CPU-GPU 이종 플랫폼에서 설치하기 쉽고 고성능이며 오픈 소스인 HCGrid 라는 컨볼루션 그리딩 프레임워크를 제시한다. HCGrid 는 CPU 에서 멀티스레딩을 활용하여 데이터 검색을 최적화하고, GPU 의 대량 병렬화를 이용하여 컨볼루션 과정을 가속화한다. 더 유연한 해결책으로 HCGrid 를 만들기 위해, 다양한 GPU 아키텍처 하에서 스레드 조직화 및 거칠기 전략과 최적 파라미터 설정을 제안한다. 여러 GPU 병렬 최적화 전략에 대한 계산 시간 및 성능 향상 분석은 하이브리드 컴퓨팅 환경에서 우수한 성능을 달성할 수 있음을 보여준다.
Gridding operation, which is to map non-uniform data samples onto a uniformly distributedgrid, is one of the key steps in radio astronomical data reduction process. One of the mainbottlenecks of gridding is the poor computing performance, and a typical solution for suchperformance issue is the implementation of multi-core CPU platforms. Although such amethod could usually achieve good results, in many cases, the performance of gridding is stillrestricted to an extent due to the limitations of CPU, since the main workload of gridding isa combination of a large number of single instruction, multi-data-stream operations, which ismore suitable for GPU, rather than CPU implementations. To meet the challenge of massivedata gridding for the modern large single-dish radio telescopes, e.g., the Five-hundred-meterAperture Spherical radio Telescope (FAST), inspired by existing multi-core CPU griddingalgorithms such as Cygrid, here we present an easy-to-install, high-performance, and open-source convolutional gridding framework, HCGrid,in CPU-GPU heterogeneous platforms. Itoptimises data search by employing multi-threading on CPU, and accelerates the convolutionprocess by utilising massive parallelisation of GPU. In order to make HCGrid a more adaptivesolution, we also propose the strategies of thread organisation and coarsening, as well as optimalparameter settings under various GPU architectures. A thorough analysis of computing timeand performance gain with several GPU parallel optimisation strategies show that it can leadto excellent performance in hybrid computing environments.