arXiv:2610.23406cs.AROct 2026

Manuscript Offprint

arXiv:2610.23406

GUMPIM: Unitary and Malleable Memory for Processing-in-Memory with Guaranteed PIM Pages

Yilong Zhao, Fangxin Liu, Yiwei Hu, Zongwu Wang, Mingyu Gao, Onur Mutlu, He Xian, Hanlin Dong, Naifeng Jing, Xiaoyao Liang, Haibing Guan, Qiang Xu, Chixiao Chen, Shuxue Quan, Tao Yang, Li Jiang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

YILONG ZHAO, Shanghai Jiao Tong University, China and Shanghai Qi Zhi Institute, China

FANGXIN LIU †^{\dagger}, Shanghai Jiao Tong University, China and Shanghai Qi Zhi Institute, China

YIWEI HU, Shanghai Jiao Tong University, China and Shanghai Qi Zhi Institute, China

ZONGWU WANG, Shanghai Jiao Tong University, China and Shanghai Qi Zhi Institute, China

MINGYU GAO, Tsinghua University, China and Shanghai Qi Zhi Institute, China

ONUR MUTLU, ETH Zurich, Switzerland

HE XIAN, Shanghai Qi Zhi Institute, China

HANLIN DONG, Shanghai Qi Zhi Institute, China

NAIFENG JING, Shanghai Jiao Tong University, China

XIAOYAO LIANG, Shanghai Jiao Tong University, China

HAIBING GUAN, Shanghai Jiao Tong University, China

QIANG XU, The Chinese University of Hong Kong, China

CHIXIAO CHEN, Fudan University, China

SHUXUE QUAN, Yizhu Technology Co., Ltd., China

TAO YANG, Huawei Technologies Co., Ltd., China, Shanghai Jiao Tong University, China, and Shanghai Qi Zhi Institute, China

LI JIANG †^{\dagger}, Shanghai Jiao Tong University, China and Shanghai Qi Zhi Institute, China

∗^{*}Extension of Conference Paper [85], this submission adds 30% new material over the prior conference paper. This work was partially supported by the National Key Research and Development Program of China (No. 2024YFE0204300), the National Program for Support of Top-notch Young Professionals of China (No. 24Z130300727), National Natural Science Foundation of China (No. 62402311, 62072262, 61834006), Natural Science Foundation of Shanghai (No. 24ZR1433700), and Key Research and Development Program of Shanghai (No. 25LN3201200).

†^{\dagger}For correspondence, please contact Li Jiang and Fangxin Liu.

Authors' Contact Information: Yilong Zhao, sjtuzyl@sjtu.edu.cn, Shanghai Jiao Tong University, Shanghai, Shanghai, China and Shanghai Qi Zhi Institute, Shanghai, Shanghai, China; Fangxin Liu, liufangxin@sjtu.edu.cn, Shanghai Jiao Tong University, Shanghai, Shanghai, China and Shanghai Qi Zhi Institute, Shanghai, Shanghai, China; Yiwei Hu, arikara666@sjtu.edu.cn, Shanghai Jiao Tong University, Shanghai, Shanghai, China and Shanghai Qi Zhi Institute, Shanghai, Shanghai, China; Zongwu Wang, wangzongwu@sjtu.edu.cn, Shanghai Jiao Tong University, Shanghai, Shanghai, China and Shanghai Qi Zhi Institute, Shanghai, Shanghai, China; Mingyu Gao, gaomy@tsinghua.edu.cn, Tsinghua University, Beijing, Beijing, China and Shanghai Qi Zhi Institute, Shanghai, Shanghai, China; Onur Mutlu, omutlu@gmail.com, ETH Zurich, Zurich, Zurich, Switzerland; He Xian, 51265900021@stu.ecnu.edu.cn, Shanghai Qi Zhi Institute, Shanghai, Shanghai, China; Hanlin Dong, 51265900020@stu.ecnu.edu.cn, Shanghai Qi Zhi Institute, Shanghai, Shanghai, China; Naifeng Jing, sjtuj@sjtu.edu.cn, Shanghai Jiao Tong University, Shanghai, Shanghai, China; Xiaoyao Liang, liang-xy@cs.sjtu.edu.cn, Shanghai Jiao Tong University, Shanghai, Shanghai, China; Haibing Guan, hbguan@sjtu.edu.cn, Shanghai Jiao Tong University, Shanghai, Shanghai, China; Qiang Xu, xuqiang@cuhk.edu.hk, The Chinese University of Hong Kong, Hong Kong, China; Chixiao Chen, cxchen@fudan.edu.cn, Fudan University, Shanghai, Shanghai, China; Shuxue Quan, pine.quan@yizhutech.com, Yizhu Technology Co., Ltd., Suzhou, Jiangsu, China; Tao Yang, yt594584152@sjtu.edu.cn, Huawei Technologies Co., Ltd., Shenzhen, Guangdong, China and Shanghai Jiao Tong University, Shanghai, Shanghai, China and Shanghai Qi Zhi Institute, Shanghai, Shanghai, China; Li Jiang, lijiang_cs@sjtu.edu.cn, Shanghai Jiao Tong University, Shanghai, Shanghai, China and Shanghai Qi Zhi Institute, Shanghai, Shanghai, China.

Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from permissions@acm.org.

114:2

Zhao et al.

DRAM-based Processing-in-Memory (PIM) addresses the “memory wall” by executing computations directly inside main memory. However, memory interleaving and virtual memory limit contiguous data size visible to PIM units, constraining PIM task granularity. Fine-grained PIM tasks incur significant offloading overhead that negates PIM performance benefits. To mitigate this, existing PIM systems drastically isolate PIM memory or disable memory interleaving. These design choices, however, decrease the CPU memory bandwidth and introduce extra data transfer, leading to an additional “system memory wall” that degrades CPU performance and must be resolved to realize PIM’s full potential.

In this work, we propose GUMPIM, a PIM system that allows interleaved CPU pages and non-interleaved PIM pages to coexist in a Unitary and Malleable memory space with Guaranteed PIM page allocation. GUMPIM enables zero-copy during PIM task offloading and maintains CPU memory bandwidth while ensuring low PIM offloading overhead. First, we propose a dual-track memory management mechanism consisting of independent page allocation and address translation for CPU and PIM pages. Second, we design GUMPIM interface hardware on PIM-enabled DRAMs to provide a dynamic address mapping for the different data layouts of CPU and PIM pages. Third, we propose a PIM-assisted page migration mechanism that transparently migrates pages while preserving CPU access bandwidth, thereby enabling guaranteed and accelerated PIM page allocation. GUMPIM requires no changes to commodity DRAM standards; all hardware modifications are limited to the DRAM side, ensuring full compatibility with existing CPUs and enabling immediate deployment on current HBMx- and LPDDRx-based PIM platforms. Our results show only <0.1% performance degradation for CPU workloads on GUMPIM, in contrast to the 25.8% degradation on PIM systems with memory interleaving turned off. For PIM workloads, GUMPIM reduces memory allocation and CPU-part computation times by 2.7× and 4.93×, respectively, yielding an end-to-end 2.3× speedup over a state-of-the-art baseline system.

CCS Concepts: • Computer systems organization → Heterogeneous (hybrid) systems; Multiple instruction, multiple data; • Software and its engineering → Memory management.

Additional Key Words and Phrases: Processing in Memory (PIM), DRAM, Address Mapping, Page Migration

ACM Reference Format:

Yilong Zhao, Fangxin Liu, Yiwei Hu, Zongwu Wang, Mingyu Gao, Onur Mutlu, He Xian, Hanlin Dong, Naifeng Jing, Xiaoyao Liang, Haibing Guan, Qiang Xu, Chixiao Chen, Shuxue Quan, Tao Yang, and Li Jiang. 2026. GUMPIM: Unitary and Malleable Memory for Processing-in-Memory with Guaranteed PIM Pages. ACM Trans. Arch. Code Optim. 23, 3, Article 114 (September 2026), 26 pages. https://doi.org/10.1145/3833426

1 Introduction

DRAM-based Processing-in-Memory (PIM) is an emerging technology to overcome the “memory wall” [78] between processing units and main memory, by integrating computational components (PIM units) into DRAM. The PIM units are distributed in various levels of DRAM organization including arrays [16, 33, 51, 65, 71, 72, 81], banks [17, 19, 30–32, 48, 55] or ranks [8, 13, 56]. These PIM units can directly access data in their own memory device, bypassing the global memory bus and achieving much higher bandwidth than CPUs, making them suitable for memory-intensive operations. The PIM units are usually customized to accelerate specific memory-bottlenecked applications, such as graph computing, artificial intelligence, databases, genome analysis, and recommendation systems [1, 7, 9–11, 21, 24, 47, 49, 50, 53, 54]. General-purpose PIM systems emerge to support a broader range of workloads [2, 4, 6, 12, 17, 25, 26, 28, 29, 40, 56, 64, 70]. These systems allow memory-bound program segments to be offloaded to PIM units as PIM tasks while keeping compute-bound segments executed by CPUs. Therefore, the compatibility of these PIM systems with host CPUs becomes critical to ensure cooperation between CPUs and PIM units.

Modern CPU-centric memory systems prevent PIM units from accessing large physically contiguous data due to two mechanisms: First, in virtual memory, the operating system (OS) maps

© 2026 Copyright held by the owner/author(s). Publication rights licensed to ACM.

ACM 1544-3973/2026/9-ART114

https://doi.org/10.1145/3833426

114:3

contiguous virtual addresses to non-contiguous physical pages. Second, through memory interleaving, the system stripes consecutive cache lines across multiple channels, ranks, or banks (Fig. 1(b)), further limiting data contiguity for individual PIM units. Together, CPU-centric mechanisms severely limit the effective granularity of PIM tasks. For example, PIM units in a DIMM DRAM bank cannot even access consecutive bytes within a data structure.

D: Memory Device

Figure

PIM Page Data Layout (a)

CPU Page Data Layout (b)

Main Memory

Current PIM System (c)

Legend:

①② CPU Compute

b=f1(a)c=f2(b)b=f_{1}(a)c=f_{2}(b)

③ CPU-PIM Move

④ PIM Compute a=f3(c)a=f_{3}(c)

⑤ PIM-CPU Move

Unitary Memory Space

GUMPIM

(d)

With Interleaving

Figure

Element-wise OP

(c.): = a: + b: ]

With Interleaving ×

PIM0: sum(a[])

General-purpose OP

(sum(a:[]))

(e)

Fig. 1. (a) Data layout of PIM pages and (b) CPU pages. (c) Isolated memory space design in existing PIM systems. (d) Proposed unitary & malleable memory space. (e) Element-wise and general-purpose operations with/without memory interleaving.

When offloading PIM tasks, the CPU needs to take a series of actions, including context switching [77] and locking memory regions [75]. For certain general-purpose PIM systems, this offloading overhead is even more than 50μs50\mu s [17]. Such offloading overhead results in PIM units having to process more data at each offload to amortize the cost. This requires PIM units to have access to even larger contiguous regions of data (like in Fig. 1(a)), further contradicting the design of modern CPU-centric memory systems.

To ensure PIM efficiency, existing systems resort to extreme measures that incur significant overhead or degrade CPU performance. (i) Isolated memory space. A dedicated PIM memory space is physically isolated from main memory, as shown in Fig. 1(c) [17, 18, 57]. The CPU accesses this space via physical addresses, enabling manual placement of data on specific memory modules. However, PIM task offloading requires explicit data transfers between the two spaces over the memory bus (Steps ③ and ⑤), introducing an additional “memory wall.” (ii) Software data re-layout. CPU software explicitly reorganizes data layout to place contiguous blocks within a single memory module [17, 18, 34, 50, 56]. This further increases the offloading overhead – over 90% on tasks with frequent, fine-grained data re-layout as in BFS and NW, as evaluated on a real PIM system [31]. (iii) Globally disabling memory interleaving. Disabling memory interleaving can reduce the data re-layout overhead at rank and channel levels [17, 20, 56]. However, doing so greatly degrades CPU memory bandwidth, aggravating the “memory wall” between CPU and DRAM.

To truly break the “walls”, a unitary, malleable memory space is essential for general-purpose heterogeneous CPU-PIM systems, as depicted in Fig. 1(d). CPU and PIM pages, with different data layouts (Fig. 1(a, b)), coexist in the memory space. This memory management strategy fulfills the requirements of PIM units for contiguous data layout while avoiding the negative consequences of the above extreme measures. First, the memory space enables zero-copy by eliminating data transfers (no ③ and ⑤ in Fig. 1(d)) during offloading. Second, CPUs access PIM pages efficiently and transparently without requiring software-level address remapping and data re-layout. Third, CPU bandwidth is preserved as in CPU-centric systems because CPU pages can still leverage standard memory interleaving.

To preserve compatibility with existing CPU hardware and OS, the following challenges should be addressed. (i) CPU and PIM page coexistence. A unitary memory space requires the PIM unit to share the CPU-managed virtual memory, necessitating that adjacent virtual PIM pages be kept

114:4

Zhao et al.

locally in PIM memory. (ii) Different data layouts. An efficient address mapping is necessary to support CPU and PIM pages with different data layouts. (iii) CPU accessing PIM pages. Efforts should be made to alleviate the bank conflicts when the host CPU accesses the non-interleaved PIM pages, which potentially degrades CPU memory bandwidth. (iv) Compatibility. Hardware modifications should primarily focus on the DRAM side to maintain compatibility with existing CPUs and motherboards.

In this work, we propose GUMPIM, a general-purpose PIM system with a unitary, malleable memory space and dual-track memory management for CPU and PIM pages. Existing memory allocation and address mapping mechanisms for CPU pages are kept unchanged to preserve compatibility. For PIM pages, we propose chunk-based memory management to enable locality for PIM pages and maintain low address translation overhead. We propose GUMPIM interface hardware for efficient address mapping and improve memory bandwidth available to the CPU when it accesses CPU and PIM pages. Additionally, chunk-based memory management requires allocating contiguous memory for PIM pages, which existing CPU systems lack because memory fragmentation leaves only scattered, non-contiguous free regions [22, 66, 84]. We propose a PIM-assisted page migration mechanism to enable contiguous memory allocation for PIM pages. All our hardware modifications are limited to the DRAM side.

An earlier version of this work (UM-PIM) was published in the proceedings of ISCA 2024 [85]. This journal version significantly extends the previous work with the following new mechanisms and results: (1) A PIM-assisted page migration mechanism that enables successful allocation of PIM pages while maintaining full compatibility with existing CPU-side hardware, and significantly accelerates the page allocation (Section 6). (2) A generalized design for dual-track memory management extended beyond the original architecture to support diverse DRAM types, including LPDDRx and HBMx, with complete implementation details that were previously only discussed at a high level (Section 7). (3) Evaluation of the memory allocation speedup with the proposed PIM-assisted page migration mechanism, and demonstration of the effectiveness of the unitary memory design on LPDDRx- and HBMx-based DRAM PIM (Section 8.4-8.6). Consistent with the design principle of the original UM-PIM [85], these new techniques also confine hardware modifications strictly to the DRAM side and ensure compatibility with the CPU-side hardware and DRAM standard protocol.

The main contributions of this paper are:

  • We identify the root cause of excessive data orchestration overhead in existing processing-in-memory systems: the additional memory wall imposed by isolated PIM memory spaces that are not directly accessible by the host CPU.

  • We propose GUMPIM, a general-purpose PIM system with a unitary and malleable memory space, which incorporates dual-track memory management along with dedicated hardware support. We demonstrate that this approach naturally extends to other DRAM standards, including HBMx and LPDDRx, without PIM-side modifications.

  • We design a high-level programming interface with collective communication primitives inspired by NCCL [63]. By exploiting the shared address space and fine-grained inter-PIM connectivity of GUMPIM, these primitives dramatically reduce synchronization and data movement overhead across PIM units.

  • We introduce a PIM-assisted transparent page migration mechanism that dynamically constructs large contiguous physical memory regions for PIM workloads, eliminating host-side fragmentation and enabling efficient and correct huge-page allocation.

Our comprehensive evaluation results show that the dual-track memory management of GUMPIM provides 1.96×1.96\times speedup on PIM workloads with only <0.1%<0.1\% performance degradation for CPU

114:5

workloads, over a state-of-the-art baseline system. The PIM-assisted page migration further reduces the memory allocation overhead by 2.7×2.7\times.

References (71)