[Paper Review] Benchmarking High Bandwidth Memory on FPGAs
This paper presents Shuhai, a hardware-software co-designed benchmarking framework that systematically measures High Bandwidth Memory (HBM) performance on FPGAs using an FPGA-based engine directly connected to HBM. It reveals that HBM on the Xilinx Alveo U280 achieves up to 425 GB/s bandwidth, but performance varies significantly with address mapping and latency is 106.7 ns (vs. 73.3 ns for DDR4), highlighting the need for careful memory access optimization.
FPGAs are starting to be enhanced with High Bandwidth Memory (HBM) as a way to reduce the memory bandwidth bottleneck encountered in some applications and to give the FPGA more capacity to deal with application state. However, the performance characteristics of HBM are still not well specified, especially in the context of FPGAs. In this paper, we bridge the gap between nominal specifications and actual performance by benchmarkingHBM on a state-of-the-art FPGA, i.e., a Xilinx Alveo U280 featuring a two-stack HBM subsystem. To this end, we propose Shuhai, a benchmarking tool that allows us to demystify all the underlying details of HBM on an FPGA. FPGA-based benchmarking should also provide a more accurate picture of HBM than doing so on CPUs/GPUs, since CPUs/GPUs are noisier systems due to their complex control logic and cache hierarchy. Since the memory itself is complex, leveraging custom hardware logic to benchmark inside an FPGA provides more details as well as accurate and deterministic measurements. We observe that 1) HBM is able to provide up to 425GB/s memory bandwidth, and 2) how HBM is used has a significant impact on performance, which in turn demonstrates the importance of unveiling the performance characteristics of HBM so as to select the best approach. As a yardstick, we also applyShuhaito DDR4to show the differences between HBM and DDR4.Shuhai can be easily generalized to other FPGA boards or other generations of memory, e.g., HBM3, and DDR3. We will makeShuhaiopen-source, benefiting the community
Motivation & Objective
- To address the lack of systematic, accurate performance characterization of High Bandwidth Memory (HBM) on FPGAs, especially given its growing use in bandwidth-intensive applications.
- To overcome the limitations of CPU/GPU-based benchmarking, which are confounded by cache hierarchies and complex control logic, by using an FPGA-native approach.
- To demystify the performance characteristics of HBM on FPGAs, including the impact of address mapping policies, memory access latency, and interconnect behavior.
- To provide a generalizable, open-source benchmarking platform (Shuhai) that enables accurate, deterministic, and low-jitter measurements of HBM performance on FPGAs.
- To guide FPGA developers in selecting optimal memory access patterns and configurations to fully exploit HBM's potential in real-world applications.
Proposed method
- Shuhai employs a hardware-software co-design approach, embedding a dedicated benchmarking engine directly within the FPGA fabric to interface with HBM modules via AXI interfaces.
- The framework uses a configurable engine module to perform memory transactions with controlled parameters (block size B, burst size S, write enable W, number of transactions N) to measure bandwidth and latency.
- It systematically varies AXI channel access patterns (0–31) to measure and compare latency and throughput across different channels and switch configurations.
- The benchmarking engine measures memory access latency under three conditions: page hit, page closed, and page miss, to analyze the impact of row buffer behavior.
- By isolating the FPGA from external system noise (e.g., caches, OS interference), Shuhai enables deterministic and repeatable measurements of HBM performance.
- The tool is designed to be extensible to other FPGA boards and memory technologies (e.g., HBM3, DDR3) by abstracting the memory interface and control logic.
Experimental results
Research questions
- RQ1What is the actual achievable memory bandwidth of HBM on a modern FPGA, such as the Xilinx Alveo U280?
- RQ2How does the choice of address mapping policy affect HBM throughput, and what are the performance differences across various access patterns?
- RQ3What is the end-to-end memory access latency of HBM on FPGAs, and how does it compare to traditional DDR4 memory?
- RQ4How does the internal HBM switch architecture (including mini-switches and channel routing) influence access latency and performance uniformity?
- RQ5To what extent can FPGA-based benchmarking provide more accurate and deterministic performance measurements than CPU/GPU-based approaches?
Key findings
- HBM on the Xilinx Alveo U280 FPGA achieves a peak memory bandwidth of up to 425 GB/s, representing an order of magnitude improvement over two DDR4 channels on the same board.
- The address mapping policy has a significant impact on performance, with throughput varying by up to an order of magnitude depending on how memory addresses are distributed across AXI channels.
- HBM access latency is 106.7 ns for a page hit, which is substantially higher than DDR4's 73.3 ns, indicating that high-throughput applications must rely on high-throughput, on-the-fly memory transactions to saturate HBM.
- Latency varies by up to 22 cycles across different AXI channels (e.g., 55 cycles for channel 0 vs. 77 cycles for channel 31), demonstrating that physical proximity to the HBM channel significantly affects performance.
- AXI channels within the same mini-switch exhibit identical access latency, confirming that the internal switch is fully implemented and that channel grouping is deterministic.
- The FPGA-based benchmarking approach eliminates cache interference and system noise, enabling more accurate and reliable performance measurements than CPU/GPU-based methods.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.