Abstract
Angular power spectra are an important measure of the angular clustering of a given distribution. In Cosmology, they are applied to such vastly different observations as galaxy surveys that cover a fraction of the sky and the Cosmic Microwave Background (CMB) that covers the entire sky, to obtain fundamental parameters that determine the structure and evolution of the universe. The calculation of an angular power spectrum, however, is complex and the optimization of these calculations is a necessary consideration for current and forthcoming observational surveys. In this work, we present preliminary results of implementing an angular power spectrum estimation scheme on a high-performance reconfigurable computing platform.
Introduction
To understand the evolution of the universe, cosmologists rely on two primary data sources: the Cosmic Microwave Background (CMB)—the thermal radiation left over from the Big Bang—and large-scale galaxy surveys such as the Sloan Digital Sky Survey (SDSS) and the 2dF Galaxy Redshift Survey (2dFGRS). Both datasets are analyzed by calculating an angular power spectrum, a statistical tool that describes how matter and energy are clustered across the sky at different angular scales.
As telescope resolution improves, the number of pixels ($N_p$) in these maps grows significantly. However, the computational cost of determining the "best fit" for these spectra scales cubically ($O(N_p^3)$) because the process involves massive matrix multiplications and inversions. This cubic scaling creates a significant bottleneck, where even modern supercomputers struggle to perform the "brute force" calculations required for high-resolution data without resorting to approximations that may sacrifice scientific accuracy.
Methodology
This research explores the use of high-performance reconfigurable computing to accelerate these calculations while maintaining a brute-force approach for maximum precision. The core methodology involves:
Iterative Likelihood Maximization
The estimation scheme utilizes an iterative statistical process to converge on a signal matrix ($C$) that matches the observed covariance of the data. This requires solving complex equations that involve the repeated manipulation of large matrices representing the sky's signal and noise.
Reconfigurable Hardware (FPGAs)
The authors utilized the SRC-6 MAP Series E processor, which incorporates a Field Programmable Gate Array (FPGA). Unlike traditional CPUs with fixed instruction sets, FPGAs can be physically reconfigured at the hardware level to optimize the specific logic gates required for matrix operations. This allows for a high degree of specialization for the task at hand.
Parallelization Strategy
The study also explored parallelizing matrix multiplications. A key insight of this approach is that many operations are independent of the sky's resolution ($N_p$) and instead depend on the number of "bandpowers" ($N_B$), or frequency bins, being calculated. This allows the workload to be distributed across multiple processors simultaneously, scaling with the complexity of the model rather than just the size of the dataset.
Results and the "Memory Wall"
Preliminary tests were conducted using simulated data with a resolution of approximately $N_p \approx 5,000$ pixels and $N_B \approx 10$ bandpowers. The findings highlight both the potential and the current limitations of reconfigurable computing in this domain:
- FPGA Speedup: The use of reconfigurable computing provided a speedup factor of "a few" compared to traditional general-purpose processors. While an improvement, it did not reach the theoretical peak performance of the hardware.
- Parallelization Gains: Parallelization on traditional supercomputing architectures showed more dramatic results, with the potential to decrease computation time by factors of dozens to hundreds.
- The Memory Bottleneck: The primary discovery was that raw processing power is not the limiting factor for FPGAs in cosmological calculations; rather, it is memory bandwidth. The SRC-6 processor features eight memory banks but supports only six reads/writes per clock cycle. Consequently, the high-speed logic of the FPGA often sits idle while waiting for data to be fetched from off-chip memory. This "memory wall" prevents the full utilization of the MAP processor’s floating-point performance.
Discussion and Future Work
While FPGAs excel at simple, repetitive tasks, the complex matrix inversions required for angular power spectrum estimation are more difficult to optimize than other cosmological tasks, such as correlation functions. However, the resolution independence of the parallelization strategy remains a promising avenue for handling increasingly complex models.
Future research will focus on:
- Hardware Comparisons: Providing direct benchmarks between different types of reconfigurable computing technologies.
- Higher-Order Spectra: Applying these acceleration techniques to the bispectrum and trispectrum (higher-order power spectra) and 3D power spectra, which are even more computationally demanding.
- Memory Optimization: Developing more efficient memory access patterns to better utilize onboard memory banks and overcome the current bandwidth limitations.
Summary updated