Cutting the cost of pulsar astronomy: Saving time and energy when searching for binary pulsars using NVIDIA GPUs

Jack White, Karel Adámek, Wesley ArmourarXiv 2022 · DOI · arXiv

Abstract: Using the Fourier Domain Acceleration Search (FDAS) method to search for binary pulsars is a computationally costly process. Next generation radio telescopes will have to perform FDAS in real time, as data volumes are too large to store. FDAS is a matched filtering approach for searching time-domain radio astronomy datasets for the signatures of binary pulsars with approximately linear acceleration. In this paper we will explore how we have reduced the energy cost of an SKA-like implementation of FDAS in AstroAccelerate, utilising a combination of mixed-precision computing and dynamic frequency scaling on NVIDIA GPUs. Combining the two approaches, we have managed to save 58% of the overall energy cost of FDAS with a (<3%) sacrifice in numerical sensitivity.

Introduction

Searching for binary pulsars—pairs of stars where at least one is a pulsar orbiting a companion—is a "needle in a haystack" problem on a cosmic scale. Because these pulsars are moving, their signals undergo a Doppler shift that "smears" the data. To find them, astronomers use the Fourier Domain Acceleration Search (FDAS), a matched-filtering technique that tries thousands of possible acceleration values to de-smear the signal.

The challenge is twofold. First, the data deluge: next-generation telescopes like the Square Kilometre Array (SKA) will produce data at rates far too high to store, requiring real-time processing. Second, the energy bill: running massive GPU clusters for real-time analysis consumes enormous amounts of electricity. In an era of climate consciousness, reducing the carbon footprint of "Big Science" is becoming as important as the science itself.

Methodology

The authors implemented their optimizations within AstroAccelerate, a GPU-accelerated software package for radio astronomy. They employed two primary strategies:

  • Mixed-Precision Computing (bfloat16): Standard astronomical pipelines often use 32-bit floating-point numbers (FP32). The authors moved the most demanding part of the pipeline—the convolution stage—to bfloat16, a 16-bit format. This halves the memory footprint of the data, allowing more of it to move through the GPU's memory bus simultaneously.
  • Dynamic Frequency Scaling (DFS): Most GPUs default to the highest possible clock speed. However, if the bottleneck is moving data from memory to the processor (bandwidth-bound) rather than the processing itself (compute-bound), a high clock speed just wastes energy while the processor waits for data. The authors manually downclocked the NVIDIA A100 GPU cores to find the "sweet spot" where power draw drops significantly without a massive hit to execution time.

The Bandwidth Bottleneck and Energy Efficiency

A critical insight from this study is that FDAS is primarily bandwidth-bound. Because the GPU spends more time waiting for data to arrive from memory than it does actually calculating, running the core at maximum frequency is inefficient. In many computing tasks, the fastest execution is the most efficient because the hardware is powered on for the shortest time. Here, the authors found the opposite: underclocking the GPU reduced power draw so drastically that it more than compensated for the slightly longer run time.

Figure 2: Energy usage vs. GPU core frequency on the A100, showing the efficiency 'sweet spot' around 1000-1100 MHz.

As shown in Figure 2, the energy usage for both FP32 and BF16 implementations reaches a minimum at intermediate frequencies. At high clock frequencies (above 1200 MHz on the A100), execution time barely improved, confirming that the compute cores were "starved" for data while consuming significantly more power.

Key Results and Hardware Evolution

By combining mixed-precision and frequency scaling, the authors achieved a 58% reduction in total energy usage compared to a standard FP32 implementation running at stock speeds. Moving to 16-bit precision introduced a maximum error of only 2.7% in detection strength—a negligible trade-off for the massive performance gains in a discovery-oriented pipeline.

Figure 3: Percentage energy saving vs. speedup relative to the FP32 A100 baseline across different architectures and precisions.

Testing on the newer RTX 4090 (Ada Lovelace) showed significant speedups over the A100 (Ampere). However, as illustrated in Figure 3, the relative energy savings from frequency scaling were more marginal on the newer architecture. This suggests that newer chips may already be managing power-to-bandwidth ratios more aggressively, though the benefits of bfloat16 remain substantial across both generations.

Conclusion

This research demonstrates that "faster" isn't always "greener." By understanding the specific hardware bottlenecks of the FDAS algorithm, astronomers can significantly reduce the environmental and financial cost of pulsar searches. Future work will focus on scaling these savings to multi-node data center environments and ensuring that the minor sensitivity loss does not impact the detection of the faintest signals.

Summary updated

Abstract

Using the Fourier Domain Acceleration Search (FDAS) method to search for binary pulsars is a computationally costly process. Next generation radio telescopes will have to perform FDAS in real time, as data volumes are too large to store. FDAS is a matched filtering approach for searching time-domain radio astronomy datasets for the signatures of binary pulsars with approximately linear acceleration. In this paper we will explore how we have reduced the energy cost of an SKA-like implementation of FDAS in AstroAccelerate, utilising a combination of mixed-precision computing and dynamic frequency scaling on NVIDIA GPUs. Combining the two approaches, we have managed to save 58% of the overall energy cost of FDAS with a (&lt;3%) sacrifice in numerical sensitivity.
BibTeX
@misc{white2022cutting,
  author = {Jack White and Karel Adámek and Wesley Armour},
  title = {{Cutting the cost of pulsar astronomy: Saving time and energy when searching for binary pulsars using NVIDIA GPUs}},
  year = {2022},
  eprint = {2211.13517},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2211.13517},
}
Figure