• Home
  • Search
  • FAFNIR: Accelerating Sparse Gathering by Using Efficient Near-Memory Intelligent Reduction
  • Cite Icon84
  • https://doi.org/10.1109/hpca51647.2021.00080Copy DOI Icon

FAFNIR: Accelerating Sparse Gathering by Using Efficient Near-Memory Intelligent Reduction

  • Feb 1, 2021
  • Bahar Asgari +5 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Memory-bound sparse gathering, caused by irregular random memory accesses, has become an obstacle in several on-demand applications such as embedding lookup in recommendation systems. To reduce the amount of data movement, and thereby better utilize memory bandwidth, previous studies have proposed near-data processing (NDP) solutions. The issue of prior work, however, is that they either minimize data movement effectively at the cost of limited memory parallelism or try to improve memory parallelism (up to a certain degree) but cannot successfully decrease data movement, as prior proposals rely on spatial locality (an optimistic assumption) to utilize NDP. More importantly, neither approach proposes a solution for gathering data from random memory addresses; rather they just offload operations to NDP. We propose an effective solution for sparse gathering, an efficient near-memory intelligent reduction (Fafnir) tree, the leaves of which are all the ranks in a memory system, and the nodes gradually apply reduction operations while data is gathered from any rank. By using such an overall tree, Fafnir does not rely on spatial locality; therefore, it minimizes data movement by performing entire operations at NDP and fully benefits from parallel memory accesses in parallel processing at NDP. Further, Fafnir offers other advantages such as using fewer connections (because of the tree topology), eliminating redundant memory accesses without using costly and less effective caching mechanisms, and being applicable to other domains of sparse problems such as scientific computing and graph analytics. To evaluate Fafnir, we implement it on an XCVU9P Xilinx FPGA and in 7 nm ASAP ASIC. Fafnir looks up the embedding tables up to 21.3× more quickly than the state-of-the-art NDP proposal. Furthermore, the generic architecture of Fafnir allows running classic sparse problems using the same 1.2 mm <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">2</sup> hardware up to 4.6× more quickly than the state of the art.

Similar Papers
  • Supplementary Content
  • Citations11

Practical Mechanisms for Reducing Processor–Memory Data Movement in Modern Workloads

  • May 21, 2021
  • Figshare
  • Amirali Boroumand
  • Research Article

Update NDP: On Offloading Modifications to Smart Storage with Transactional Guarantees in Near-Data Processing DBMS

  • Nov 04, 2025
  • ACM Transactions on Database Systems
  • Arthur Bernhardt +4
  • Conference Article
  • Citations1

Advancing Database System Operators with Near-Data Processing

  • Mar 01, 2022
  • Sairo R Dos Santos +3
  • Conference Article
  • Citations7

Enabling near-data processing in distributed object storage systems

  • Jul 27, 2021
  • Ian F Adams +2
  • Research Article
  • Citations13

Optimizing power efficiency for 3D stacked GPU-in-memory architecture

  • Jan 21, 2017
  • Microprocessors and Microsystems
  • Wen Wen +2
  • Conference Article

SpAct-NDP: Efficient LLM Inference via Sparse Activation on NDP-GPU Heterogeneous Architecture

  • Jan 19, 2026
  • Jiaming Xu +7
  • Conference Article
  • Citations1

High Performance is All about Minimizing Data Movement

  • Jun 23, 2020
  • Mary Hall
  • Conference Article
  • Citations12

NEST

  • Nov 02, 2020
  • Wenqin Huangfu +4
  • Conference Article
  • Citations48

Data movement aware computation partitioning

  • Oct 14, 2017
  • Xulong Tang +3
  • Research Article
  • Citations2

Fargraph+: Excavating the parallelism of graph processing workload on RDMA-based far memory system

  • Mar 10, 2023
  • Journal of Parallel and Distributed Computing
  • Jing Wang +7
  • PDF
  • Research Article
  • Citations12

CENNA: Cost-Effective Neural Network Accelerator

  • Jan 10, 2020
  • Electronics
  • Sang-Soo Park +1
  • Conference Article
  • Citations7

Balancing Memory Accesses for Energy-Efficient Graph Analytics Accelerators

  • Jul 01, 2019
  • Mingyu Yan +10
  • Conference Article
  • Citations5

Saving memory movements through vector processing in the DRAM

  • Oct 04, 2015
  • Marco A Z Alves +4
  • Conference Article
  • Citations129

In-Situ AI: Towards Autonomous and Incremental Deep Learning for IoT Systems

  • Feb 01, 2018
  • Mingcong Song +7
  • Research Article
  • Citations5

Fusion

  • Jun 13, 2015
  • ACM SIGARCH Computer Architecture News
  • Snehasish Kumar +2
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.