A hybrid architecture for astronomical computing

Changhua Li, Chenzhou Cui, Boliang He, Dongwei Fan, Linying Mi, Shanshan Li, Sisi Yang, Yunfei Xu, Jun Han, Junyi Chen, Hailong Zhang, Ce Yu, Jian Xiao, Chuanjun Wang, Zihuang Cao, Yufeng Fan, Liang Liu, Xiao Chen, Wenming Song, Kangyu DuarXiv 2018

Introduction

Astronomy has officially entered the "Big Data" era, driven by a new generation of large-scale telescopes and high-resolution sensors. This shift has created a technical rift in astronomical computing. Traditional High-Performance Computing (HPC) is excellent for compute-heavy tasks like N-body simulations but often struggles with the massive data-shuffling requirements of modern analytics. Conversely, Big Data frameworks like Hadoop and Spark are designed for data-centric processing but are not always the optimal choice for pure numerical simulations.

To address this, researchers have proposed a hybrid computing architecture for the Chinese Virtual Observatory (China-VO). By integrating GPUs, Intel Knights Landing (KNL) processors, and cloud-based Spark/Hadoop clusters under a unified management layer, the system provides a flexible, high-efficiency environment for both massive astronomical simulations and data-intensive analysis.

The Hybrid Architecture

The proposed system is a two-layer hybrid architecture implemented within the China-VO framework, designed to share hardware resources while supporting diverse software requirements.

Architecture of the China-VO Astronomical Cloud Computing Environment

Management and Orchestration

The top layer handles user management, authentication, and task allocation. It provides a "Cloud" experience, allowing researchers to request virtualized environments (VMs) tailored for specific frameworks like Spark or MapReduce.

At the heart of the resource management is Apache Mesos. Mesos acts as an orchestration layer, dynamically allocating resources across heterogeneous nodes. This allows the system to intelligently route tasks: for instance, sending a complex simulation to a GPU node while directing a large-scale data-mining task to a Spark cluster.

Specialized Computing Nodes

The physical execution layer is subdivided into specialized clusters to handle different computational paradigms:

  • GPU Nodes: These nodes utilize NVIDIA hardware and CUDA for massively parallel tasks, essential for high-performance simulations.
  • KNL Nodes: Featuring Intel Xeon Phi "Knights Landing" processors, these nodes act as standalone 72-core processors with high-bandwidth memory (MCDRAM). KNL serves as a strategic bridge, allowing astronomers to port standard CPU code more easily than the steeper learning curve of GPU/CUDA programming.
  • HDFS & HPC Nodes: These standard nodes support both the Hadoop Distributed File System (HDFS) and traditional MPI-based computing, facilitating a "data-centered" approach where storage is integrated closely with compute.

Performance and Key Results

The effectiveness of this hybrid approach was demonstrated through the "Laohu" cluster at the National Astronomical Observatories of China (NAOC). The cluster was tested using real-world astrophysical N-body applications, which are notoriously compute-heavy.

Scaling performance of astrophysical N-body applications on the Laohu GPU cluster

As shown in the performance data, the system achieves significant scaling. For large-scale simulations (e.g., N = 6M), the cluster reached sustained speeds of approximately 50 Teraflops. This represents a substantial performance leap over traditional CPU-only infrastructures. Furthermore, the successful release of the China-VO Astronomy Cloud has enabled the research community to build on-demand virtual clusters for Spark, MapReduce, and HDFS, proving the operational viability of unified management for Cloud, GPU, and KNL paradigms.

Discussion and Future Work

The transition from "compute-centered" to "data-centered" computing is a fundamental shift in the field. By placing shared storage and HDFS at the core of the architecture, the China-VO environment addresses the data-intensive needs of modern astronomy. The use of virtualization and Mesos-based orchestration provides the necessary flexibility to support a wide variety of tasks on shared hardware.

However, this integration introduces significant software complexity, particularly in job scheduling and resource allocation. Future work will focus on optimizing these scheduling algorithms to better handle the diverse and often unpredictable workloads of astronomical research. Additionally, more detailed quantitative benchmarking is needed to compare this hybrid setup against traditional siloed clusters across a broader range of specific astronomical use cases.

Summary updated

BibTeX
@misc{li2018hybrid,
  author = {Changhua Li and Chenzhou Cui and Boliang He and Dongwei Fan and Linying Mi and Shanshan Li and Sisi Yang and Yunfei Xu and Jun Han and Junyi Chen and Hailong Zhang and Ce Yu and Jian Xiao and Chuanjun Wang and Zihuang Cao and Yufeng Fan and Liang Liu and Xiao Chen and Wenming Song and Kangyu Du},
  title = {{A hybrid architecture for astronomical computing}},
  year = {2018},
  eprint = {1801.07548},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1801.07548},
}
Figure