NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A High-Performance, Energy-Efficient Modular DMA Engine Architecture

Thomas Benz, Michael Rogenmoser, Paul Scheffler, Samuel Riedel, Alessandro Ottaviano, Andreas Kurth, Torsten Hoefler, Luca Benini · DOI

This paper introduces intelligent DMA (iDMA), a modular and open-source architecture for Direct Memory Access (DMA) engines. By breaking the DMA engine into three independent, swappable components—front-end, mid-end, and back-end—the authors provide a "Swiss Army Knife" for data movement that scales from ultra-low-power IoT sensors to massive high-performance computing (HPC) manycore clusters.

TL;DR

The authors propose iDMA, the first fully modular and parametric open-source DMA architecture that decouples control logic from data transport. It achieves up to 15.8× speedups in manycore systems and improves ML inference performance by 23% in edge AI systems, all while providing a unified design framework for diverse hardware environments.

What Problem Does This Paper Address?

In modern computing, moving data is often more expensive (in time and energy) than processing it. DMA engines are the "delivery trucks" of a chip, moving data between memories so the CPU doesn't have to.

However, most DMA engines are "hard-coded" for specific systems. If a designer switches from an AXI bus to a TileLink bus, or moves from simple 1D data copies to complex 3D tensor transformations for AI, they usually have to design a brand-new DMA engine from scratch. This lack of modularity leads to a "zoo" of incompatible hardware units, making integration and verification a nightmare for engineers. The iDMA architecture aims to solve this by providing a standardized, Lego-like approach to DMA design.

Methods

The core innovation is the three-part modularity:

  1. Front-end (The Interface): Handles how the processor "talks" to the DMA. Options include simple register-based interfaces, descriptor-based fetching (for Linux), or custom RISC-V instructions for high-agility tasks.
  2. Mid-end (The Brain): Accelerates complex data patterns. It can "slice" N-dimensional tensors into simple 1D transfers, handle data scattering/gathering, or even autonomously launch repeated transfers for real-time sensor monitoring without CPU intervention.
  3. Back-end (The Transport): Implements the actual bus protocols (like AXI4, OBI, or TileLink). It uses a decoupled read-write architecture to ensure the bus stays 100% utilized, even when the memory system has high latency.

All modules use standardized "ready-valid" handshaking, allowing designers to mix and match parts to fit their specific needs. The authors also provide analytical models to help designers predict the area and timing of their custom iDMA configuration before they even build it.

Datasets

As a hardware architecture paper, the "datasets" consist of various system-on-chip (SoC) integrations and benchmarks:

  • PULP-open: An ultra-low-power edge AI platform running MobileNetV1 inference.
  • MemPool: A 256-core manycore system used to test massive parallel data movement.
  • Manticore: A high-performance 432-core chiplet-based architecture.
  • Cheshire: A minimal Linux-capable 64-bit SoC.
  • Synthetic Workloads: Used to measure bus utilization across different memory latencies (SRAM, DRAM, and HBM).

Key Insights and Ideas

  • Modularity is Free: One might expect a modular design to be bulky, but iDMA can be stripped down to less than 2,000 gate equivalents (kGE)—smaller than many non-modular designs—or scaled up to support 32+ outstanding transactions in HPC systems.
  • Latency Hiding: The decoupled transport engine is exceptionally "agile." It can reach full bus utilization on transfers as small as 16 bytes, even in systems where memory responses take 100+ clock cycles.
  • The "Mid-end" as an Accelerator: By moving N-dimensional address generation into hardware (the mid-end), the authors reduce the CPU's involvement in data movement to just a few instructions, freeing the cores to focus on actual computation.

Key Results

  • High-Performance Computing: In the MemPool manycore system, iDMA achieved a 15.8× speedup in memory transfers with only a 1% increase in total chip area.
  • Edge AI: In the PULP-open system, replacing the existing DMA with iDMA improved MobileNetV1 performance from 7.9 to 8.3 MAC/cycle while actually reducing the DMA area by 10%.
  • Bus Efficiency: In a single-core SoC, iDMA increased bus utilization by 6× for fine-grained (64-byte) transfers compared to a standard off-the-shelf AXI DMA.
  • Predictability: The authors' area and timing models showed a mean error of less than 9%, providing a reliable tool for system architects.

Limitations and Future Work

  • Design Complexity: While modular, the high degree of parameterization (hundreds of possible configurations) can be overwhelming for new users. The authors addressed this by providing "wrapper modules" for common cases, but a steeper learning curve remains.
  • In-stream Processing: While the architecture supports "in-stream" accelerators (performing operations like compression or encryption while the data is moving), the paper only explores simple data initialization. Future work could involve integrating more complex compute units directly into the iDMA data path.
  • Software Stack: While compatible with Linux, the full potential of the custom RISC-V instruction front-end requires specialized compiler support or manual assembly optimization.

Summary updated

BibTeX
@article{benz2024high,
  author = {Thomas Benz and Michael Rogenmoser and Paul Scheffler and Samuel Riedel and Alessandro Ottaviano and Andreas Kurth and Torsten Hoefler and Luca Benini},
  title = {{A High-Performance, Energy-Efficient Modular DMA Engine Architecture}},
  journal = {IEEE Trans. Computers},
  year = {2024},
  doi = {10.1109/tc.2023.3329930},
}
Figure