Skip to main content
QUICK REVIEW

[Paper Review] Optimizing Memory Performance of Xilinx FPGAs under Vitis

Ruoshi Li, Hongjing Huang|arXiv (Cornell University)|Oct 18, 2020
Parallel Computing and Optimization TechniquesComputer Science32 references7 citations
TL;DR

This paper presents a comprehensive benchmarking framework to optimize HBM memory performance on Xilinx FPGAs using Vitis High-Level Synthesis (HLS), demonstrating that memory access patterns and address mapping policies critically impact bandwidth. It achieves up to 431 GB/s throughput with HBM2 and shows that multi-channel, high-unit-size access patterns can deliver 100X speedup over CPU implementations in AI inference workloads.

ABSTRACT

Plenty of research efforts have been devoted to FPGA-based acceleration, due to its low latency and high energy efficiency. However, using the original low-level hardware description languages like Verilog to program FPGAs requires generally good knowledge of hardware design details and hand-on experiences. Fortunately, the FPGA community intends to address this low programmability issues. For example, , with the intention that programming FPGAs is just as easy as programming GPUs. Even though Vitis is proven to increase programmability, we cannot directly obtain high performance without careful design regarding hardware pipeline and memory subsystem.In this paper, we focus on the memory subsystem, comprehensively and systematically benchmarking the effect of optimization methods on memory performance. Upon benchmarking, we quantitatively analyze the typical memory access patterns for a broad range of applications, including AI, HPC, and database. Further, we also provide the corresponding optimization direction for each memory access pattern so as to improve overall performance.

Motivation & Objective

  • To address the performance gap between FPGA potential and actual memory bandwidth in high-level programming using Vitis and HLS.
  • To systematically evaluate how memory access patterns affect HBM2 performance on Xilinx FPGAs under Vitis.
  • To identify and quantify the impact of address mapping policies, unit size, and memory access patterns on throughput and latency.
  • To establish a reusable, open-source benchmark framework for evaluating off-chip memory performance on FPGAs across diverse workloads.
  • To compare HLS-based Vitis implementations with RTL and Vivado-based designs to assess performance and programmability trade-offs.

Proposed method

  • Conducted large-scale, systematic benchmarking of HBM2 memory access on Xilinx U280 FPGA using Vitis and HLS, measuring throughput, latency, and resource utilization.
  • Evaluated four fundamental database memory access patterns: sequential, random, repetitive sequential, and nested multi-cursor traversal.
  • Implemented and compared single-channel and multi-channel (up to 32-channel) HBM access with varying unit sizes and strides.
  • Used AXI interface to directly access HBM2, ensuring results reflect real system-level behavior without cache interference.
  • Benchmarked against CPU, RTL (Vivado), and DDR4/DDR5 baselines to isolate Vitis/HLS-specific performance characteristics.
  • Analyzed the impact of address mapping policies on bandwidth, showing up to 10x variation in throughput for sequential access.

Experimental results

Research questions

  • RQ1How does the choice of memory access pattern (e.g., sequential vs. random) affect HBM2 bandwidth and latency on Vitis/HLS-based FPGAs?
  • RQ2What is the impact of address mapping policy on HBM2 memory throughput, and how can it be optimized for different access patterns?
  • RQ3To what extent can Vitis/HLS achieve peak HBM2 bandwidth compared to RTL-based implementations?
  • RQ4How do unit size and stride influence memory performance in memory-bound applications like AI inference and database operators?
  • RQ5What are the performance and resource trade-offs between single-kernel and multi-kernel (multi-channel) HBM access in HLS-based FPGA designs?

Key findings

  • HLS-based Vitis implementations on Xilinx U280 achieve up to 431 GB/s memory bandwidth with HBM2, matching the theoretical peak and RTL-level performance.
  • Sequential memory access with optimal address mapping achieves 421.68 GB/s throughput, while random access (LFSR) drops to only 5.82 GB/s, highlighting the critical role of access pattern.
  • The nested multi-cursor sequential access pattern achieves the highest throughput (421.89 GB/s), demonstrating the benefit of high unit size and aligned strides.
  • Multi-channel HBM access (32-channel) delivers 10X higher performance than single-channel (2-channel) implementation, with only 2X higher resource utilization.
  • AI inference workloads using 32-channel HBM access achieve over 100X speedup compared to CPU-based implementations, with 18.8% LUT and 14.8% FF utilization.
  • The Vitis platform introduces a latency overhead (~10% increase) compared to Vivado/RTL due to kernel encapsulation, but maintains parity with CPU/GPU HBM access latency.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.