A Heterogeneous PIM Hardware-Software Co-Design for Energy-Efficient Graph Processing

Yu Huang, Long Zheng, Pengcheng Yao, Jieshan Zhao, Xiaofei Liao, Hai Jin, Jingling Xue

2020 · 49 citations · 53 references

Concepts

TL;DR

Processing‑in‑memory (PIM) mitigates the memory bottleneck of graph processing, with analog memristor‑based PIM offering high parallelism when crossbars are fully utilized and CMOS‑based PIM delivering faster single‑edge execution but lower parallelism. The authors aim to determine whether a hybrid approach can outperform either analog or digital PIM alone for irregular graph workloads. They propose Hetraph, a heterogeneous PIM architecture that integrates memristor‑based analog units and CMOS digital cores on a 3D die‑stacked memory, coupled with a heterogeneity‑aware execution model and workload‑offloading software. Hetraph achieves average speedups of 7.54× over CPUs, 1.56× over GPUs, 4.13× over memristor PIM, and 3.05× over CMOS PIM, while reducing energy consumption by 57.58×, 19.93×, 14.02×, and 10.48× respectively.

Abstract

Processing-In-Memory (PIM) is an emerging technology that addresses the memory bottleneck of graph processing. In general, analog memristor-based PIM promises high parallelism provided that the underlying matrix-structured crossbar can be fully utilized while digital CMOS-based PIM has a faster single-edge execution but its parallelism can be low. In this paper, we observe that there is no absolute winner between these two representative PIM technologies for graph applications, which often exhibit irregular workloads. To reap the best of both worlds, we introduce a new heterogeneous PIM hardware, called Hetraph, to facilitate energy-efficient graph processing. Hetraph incorporates memristor-based analog computation units (for high-parallelism computing) and CMOS-based digital computation cores (for efficient computing) on the same logic layer of a 3D die-stacked memory device. To maximize the hardware utilization, our software design offers a hardware heterogeneity-aware execution model and a workload offloading mechanism. For performance speedups, such a hardware-software co-design outperforms the state-of-the-art by 7.54 ×(CPU), 1.56 ×(GPU), 4.13× (memristor-based PIM) and 3.05× (CMOS-based PIM), on average. For energy savings, Hetraph reduces the energy consumption by 57.58× (CPU), 19.93× (GPU), 14.02 ×(memristor-based PIM) and 10.48 ×(CMOS-based PIM), on average.

References

53