PIM-FW: Hardware-Software Co-Design of All-pairs Shortest Paths in DRAM
Tsung-Han Lu, Zheyu Li, Minxuan Zhou, Tajana Rosing

TL;DR
This paper introduces PIM-FW, a hardware-software co-designed architecture leveraging processing-in-memory to significantly accelerate the Floyd-Warshall algorithm for all-pairs shortest paths, reducing data movement and energy consumption.
Contribution
It presents a novel PIM architecture and dataflow for the FW algorithm, enabling high parallelism and eliminating data movement bottlenecks in graph processing.
Findings
Achieves 18.7x speedup on 8192x8192 graphs
Consumes 3200x less DRAM energy than GPU implementations
Demonstrates effective hardware-software co-design for PIM-based graph algorithms
Abstract
All-pairs shortest paths (APSP) is a fundamental algorithm used for routing, logistics, and network analysis, but the cubic time complexity and heavy data movement of the canonical Floyd-Warshall (FW) algorithm severely limits its scalability on conventional CPUs or GPUs. In this paper, we propose PIM-FW, a novel co-designed hardware architecture and dataflow that leverages processing in and near memory architecture designed to accelerate blocked FW algorithm on an HBM3 stack. To enable fine-grained parallelism, we propose a massively parallel array of specialized bit-serial bank PE and channel PE designed to accelerate the core min-plus operations. Our novel dataflow complements this hardware, employing an interleaved mapping policy for superior load balancing and hybrid in and near memory computing model for efficient computation and reduction. The novel in-bank computing approach…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNetwork Packet Processing and Optimization · VLSI and FPGA Design Techniques · Software-Defined Networks and 5G
