GPUs for data processing in the MWA

S. M. Ord, Hanspeter Pfister, L. J. Greenhill, Richard G. Edgar, Kevin Dale, R. B. Wayth, D. A. MitchellarXiv 2009 · DOI

Abstract

The MWA is a next-generation radio interferometer under construction in remote Western Australia. The data rate from the correlator makes storing the raw data infeasible, so the data must be processed in real-time. The processing task is of order ~10 TFLOPS. The remote location of the MWA limits the power that can be allocated to computing. We describe the design and implementation of elements of the MWA real-time data processing system which leverage the computing abilities of modern graphics processing units (GPUs). The matrix algebra and texture mapping capabilities of GPUs are well suited to the majority of tasks involved in real-time calibration and imaging. Considerable performance advantages over a conventional CPU-based reference implementation are obtained.

Introduction

The Murchison Wide-Field Array (MWA) represents a significant leap in radio astronomy, consisting of 512 antenna elements. However, this scale introduces a massive data challenge. The correlator produces a volume of data—cross-correlating signals from 130,000 baseline pairs across 768 frequency channels—that is far too large for traditional capture and offline processing. To enable scientific goals such as detecting the Epoch of Re-ionization and solar physics, a Real-Time System (RTS) capable of approximately 10 TFLOPS is required.

A critical constraint is the MWA's location in remote Western Australia, which imposes a strict 20kW power limit. Standard CPU-based architectures from the late 2000s would require roughly 100 nodes and 30kW of power, exceeding the budget before cooling is even considered. This paper explores the transition to GPU-based computing to meet these performance and power requirements.

Methodology

The RTS pipeline was ported from a conventional CPU-based architecture to NVIDIA GT200 series GPUs (specifically the C1060). The pipeline includes several computationally intensive stages:

  • Calibration (CML): Calculating complex gains and correcting for ionospheric distortion.
  • Gridding: Interpolating samples onto a regular grid.
  • FFT: Spatial frequency to image domain transformation.
  • Convolution Correction: Refining the gridded data.
  • Stokes Conversion: Converting instrumental polarization into physical Stokes parameters (I, Q, U, V).

Adapting these algorithms for GPUs required a fundamental shift in logic. Early GPU architectures lacked atomic floating-point operations, making "scatter" algorithms (where multiple threads write to the same memory) inefficient. The authors instead implemented "gather" algorithms, where each thread collects necessary values for its specific memory location. Additionally, heavy emphasis was placed on memory coalescing to maximize bandwidth by ensuring simultaneous thread access to consecutive memory locations.

Key Results

The transition to GPU processing yielded substantial performance gains. Benchmarks comparing an Intel Core2 Quad 2.66GHz CPU to an NVIDIA C1060 GPU demonstrated an overall speedup of approximately 10x.

Performance comparison between CPU and GPU for MWA real-time processing tasks.

As shown in the table above, every stage of the pipeline saw significant improvements. For instance, the Gridding task dropped from 480ms on the CPU to just 36ms on the GPU. These efficiencies allow the MWA to meet its 10 TFLOPS requirement using only 32 GPU nodes, providing a theoretical 20 TFLOPS while remaining well within the 20kW power envelope.

Discussion and Conclusion

The success of the GPU implementation hinges on hiding memory latency through massive threading rather than simply increasing clock speeds. In the context of remote "edge" computing like the MWA, FLOPs per Watt is the most critical metric. The GPU's ability to deliver high throughput within a limited power footprint made the project feasible.

While the core pipeline was successfully ported, some steps like image resampling into all-sky pixelizations (e.g., HEALPIX) remained for future work. Furthermore, the long-term durability of these components in the harsh desert environment is an ongoing operational consideration. Nonetheless, this work proves that GPUs are a viable and necessary solution for the high-throughput, power-constrained demands of modern radio interferometry.

Summary updated

BibTeX
@misc{ord2009gpus,
  author = {S. M. Ord and Hanspeter Pfister and L. J. Greenhill and Richard G. Edgar and Kevin Dale and R. B. Wayth and D. A. Mitchell},
  title = {{GPUs for data processing in the MWA}},
  year = {2009},
  eprint = {0902.0915},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/0902.0915},
  howpublished = {arXiv},
}
Figure