Portable Implementation of Real-Time Signal Processing Benchmarks on HPC Platforms

Jinwoo Suh, Viktor K. PrasannaPARA 1998

TL;DR

This paper tackles the challenge of efficiently implementing real-time signal processing benchmarks on High-Performance Computing (HPC) platforms. The authors introduce a novel, portable M-to-N K-block-cyclic communication algorithm that significantly reduces the number of processors required and increases the maximum data size that can be processed for benchmarks like 2D-FFT and Corner Turn.

What Problem Does This Paper Address?

Real-time signal processing applications, such as those in radar, sonar, and vision systems, are increasingly demanding and often require the power of HPC platforms. To effectively evaluate and compare the performance of these HPC systems for such applications, standardized benchmarks are crucial. However, implementing these benchmarks efficiently, especially the communication-intensive parts, on distributed memory HPC systems is a significant challenge. A key bottleneck is the "M-to-N K-block-cyclic communication," where data needs to be redistributed among multiple source and destination processors in a specific block pattern. Existing methods for this communication are often inefficient, leading to underutilization of HPC resources or an inability to process large datasets within real-time constraints. This paper aims to address this by developing a more efficient and portable communication primitive for these benchmarks.

Methods

The core contribution of this paper is a new set of communication algorithms designed for M-to-N K-block-cyclic communication. The authors' approach focuses on reducing the number of communication steps and eliminating node contention. They achieve this by:

  • Optimized Communication Pattern: The algorithm reorganizes communication steps to minimize startup costs and reduce the overall communication time. The number of communication steps is theoretically reduced to as small as $lg(M+N)$.
  • Generalized Circulant Matrix: The communication problem is framed using the concept of generalized circulant matrices, which allows for a structured and efficient data redistribution.
  • Two-Stage Approach: The M-to-N K-block-cyclic communication is broken down into two stages. Stage 1 involves partitioning destination processors and transforming the initial data distribution into a generalized circulant matrix. Stage 2 further refines the data redistribution within groups of processors.
  • Hybrid Schedule: The proposed communication can be performed using direct, indirect, or hybrid schedules, offering flexibility depending on the specific HPC architecture and problem characteristics.
  • Portability: The implementation is designed to be portable, leveraging the Message Passing Interface (MPI) standard, allowing it to run on different HPC platforms.

Datasets

The paper evaluates its proposed algorithms using two benchmarks defined by MITRE and Rome Lab:

  • 2D Real-Time FFT: This benchmark involves performing a Fast Fourier Transform on a 2D array of complex numbers. The performance is measured by the minimum number of processors required to process data of various sizes (512x512, 1Kx1K, 2Kx2K, 4Kx4K) under different latency and period constraints.
  • Corner Turn: This benchmark involves transposing a distributed matrix. The evaluation focuses on communication time and throughput for a 1Kx1K floating-point matrix.

The authors compare their implementation against a previously developed serial communication algorithm.

Key Insights and Ideas

  • Significant Processor Reduction: The most striking insight is the substantial reduction in the number of processors needed to achieve real-time performance for the 2D-FFT benchmark. This implies that existing HPC systems can handle larger problems or achieve better performance with fewer resources using this new communication primitive.
  • Scalability of Communication: The proposed algorithm demonstrates a more scalable communication pattern for the Corner Turn benchmark. Unlike the serial approach where communication time increases with more processors, the proposed method shows a monotonic decrease, indicating better utilization of parallel resources.
  • Portability is Key: The emphasis on a portable implementation using MPI is crucial for the widespread adoption and evaluation of real-time signal processing algorithms on diverse HPC architectures.
  • Trade-offs in Latency: The performance differences observed under different latency constraints highlight the importance of understanding and optimizing for specific real-time requirements.

Key Results

  • 2D-FFT: The number of processors required for the 2D-FFT benchmark was reduced by up to 53% compared to earlier implementations. The maximum input data size that could be processed was also increased.
  • Corner Turn: The total corner turn time was reduced by up to 78%. The throughput for the corner turn operation showed a monotonic increase with the number of processors, outperforming the serial approach which saw a decrease in throughput beyond a certain number of processors.
  • Platform Comparison: Generally, the SGI/Cray T3E showed higher performance than the IBM SP2 for these benchmarks, attributed to factors like computation and communication time, and less fluctuation in execution time on the T3E.

Limitations and Future Work

  • Specific Benchmark Focus: The paper focuses on two specific benchmarks (2D-FFT and Corner Turn). While these are representative, their applicability to the full spectrum of real-time signal processing applications might require further validation.
  • Theoretical vs. Practical: While the theoretical reduction in communication steps is promising, the practical performance gains are dependent on the underlying hardware and MPI implementation.
  • Future Work: The authors suggest that the proposed M-to-N communication primitive can be instrumental in parallelizing multi-stage applications, implying future work in applying this to more complex systems like Space-Time Adaptive Processing (STAP), Synthetic Aperture Radar (SAR), and other vision applications. Further exploration of different scheduling strategies and their impact on performance across various architectures would also be valuable.

Summary updated

BibTeX
@inproceedings{suh1998portable,
  author = {Jinwoo Suh and Viktor K. Prasanna},
  title = {{Portable Implementation of Real-Time Signal Processing Benchmarks on HPC Platforms}},
  booktitle = {PARA},
  year = {1998},
  doi = {10.1007/bfb0095378},
}
Figure