English

Low-overhead General-purpose Near-Data Processing in CXL Memory Expanders

Hardware Architecture 2024-10-07 v3

Abstract

Emerging Compute Express Link (CXL) enables cost-efficient memory expansion beyond the local DRAM of processors. While its CXL..mem protocol provides minimal latency overhead through an optimized protocol stack, frequent CXL memory accesses can result in significant slowdowns for memory-bound applications whether they are latency-sensitive or bandwidth-intensive. The near-data processing (NDP) in the CXL controller promises to overcome such limitations of passive CXL memory. However, prior work on NDP in CXL memory proposes application-specific units that are not suitable for practical CXL memory-based systems that should support various applications. On the other hand, existing CPU or GPU cores are not cost-effective for NDP because they are not optimized for memory-bound applications. In addition, the communication between the host processor and CXL controller for NDP offloading should achieve low latency, but existing CXL..io/PCIe-based mechanisms incur μ\mus-scale latency and are not suitable for fine-grained NDP. To achieve high-performance NDP end-to-end, we propose a low-overhead general-purpose NDP architecture for CXL memory referred to as Memory-Mapped NDP (M2^2NDP), which comprises memory-mapped functions (M2^2func) and memory-mapped μ\muthreading (M2μ^2\muthread). M2^2func is a CXL..mem-compatible low-overhead communication mechanism between the host processor and NDP controller in CXL memory. M2μ^2\muthread enables low-cost, general-purpose NDP unit design by introducing lightweight μ\muthreads that support highly concurrent execution of kernels with minimal resource wastage. Combining them, M2^2NDP achieves significant speedups for various workloads by up to 128x (14.5x overall) and reduces energy by up to 87.9% (80.3% overall) compared to baseline CPU/GPU hosts with passive CXL memory.

Keywords

Cite

@article{arxiv.2404.19381,
  title  = {Low-overhead General-purpose Near-Data Processing in CXL Memory Expanders},
  author = {Hyungkyu Ham and Jeongmin Hong and Geonwoo Park and Yunseon Shin and Okkyun Woo and Wonhyuk Yang and Jinhoon Bae and Eunhyeok Park and Hyojin Sung and Euicheol Lim and Gwangsun Kim},
  journal= {arXiv preprint arXiv:2404.19381},
  year   = {2024}
}

Comments

Accepted at the 57th IEEE/ACM International Symposium on Microarchitecture (MICRO), 2024

R2 v1 2026-06-28T16:10:59.560Z