Compute Express Link (CXL)

CXL is an open-standard high-speed interconnect technology that enables data transfer between CPUs, SmartNICs, GPUs, and other devices. It offers three protocols—CXL.io, CXL.cache and CXL.memory—to balance I/O, coherent caching and direct memory access.

Modern computing systems have demanded higher memory bandwidth. However, the current parallel interface (e.g., DDR4) can increase neither the number of (memory) channels nor the bit rate of the channels without paying high package and power costs. In contrast, the high-speed serial interface (HSI) can offer much higher bandwidth for the same number of pins and lower power consumption for the same bandwidth than the parallel interface. This allows us to integrate more channels under a pin and/or package power constraint but at the cost of longer latency for memory accesses and higher static energy consumption in particular for idle channels. In our work, we first provided a deep understanding of recent HSI (e.g., PCIe) exhibiting very distinct characteristics from past serial interfaces in terms of bit rate, latency, energy per bit transfer, and static power consumption. To overcome the limitation of using only parallel (e.g., DDR) or serial (e.g., PCIe) interfaces, we proposed a hybrid memory channel architecture-Alloy (the top illustration) consisting of low-latency parallel and high-bandwidth serial channels. At the architecture level, this proposal is the same as the current CXL memory expander in which a CPU is connected to both DDR and PCIe-based CXL (Compute eXpress Link) (the middle illustration).

CXL Memory

CXL Memory
CXL Memory Controller

CXL-based memory expander technology (CXL.mem) is an extension of the CXL specification that allows systems to expand memory beyond the physical DIMMs installed by connecting external memory devices, such as high-speed DRAM or persistent memory, through the CXL interconnect. Unlike traditional memory expansion, which adds more DIMM slots or increases existing DIMM capacity, CXL.mem enables seamless integration of external memory, appearing as local memory to the system.

It offers high bandwidth and low latency, making it ideal for data-intensive tasks like machine learning and high-performance computing. CXL.mem is still a developing technology, and it is not yet widely available. However, it has the potential to greatly increase memory capacity and performance in a wide range of applications, demonstrated in our works (Sun et al., 2023 ; Sun et al., 2025 ). In addition, we build cost-efficient solution for the use of recycled DRAM modules with thousands of faulty words, exploiting the CXL’s support for near-memory processing and variable memory access latency (Song et al., 2025 ).

CXL Type-2 Device

We delve into three key features of a CXL Type-2 device: cache-coherent device accelerator to host memory, device accelerator to device memory, and host CPU to device memory accesses. Second, using microbenchmarks, we comprehensively characterize the latency and bandwidth of these memory accesses with a CXL Type-2 device, and then compare them with those of equivalent memory accesses with comparable devices, such as emulated CXL Type-2, CXL Type-3, and PCIe devices. Building on these insights, we introduce a cooperative computing framework that integrates Type-2 devices into the operating system and runtime, allowing seamless offloading of heterogeneous tasks with substantial performance and energy-efficiency improvements (Ji et al., 2024 ).

CXL Type-2 Device

References

2025

  1. M5: Mastering Page Migration and Memory Management for CXL-based Tiered Memory Systems
    Yan Sun, Jongyul Kim, Zeduo Yu, Jiyuan Zhang, Siyuan Chai, Michael Jaemin Kim, Hwayong Nam, Jaehyun Park, Eojin Na, Yifan Yuan, Ren Wang, Jung Ho Ahn, Tianyin Xu, and Nam Sung Kim
    2025
  2. CAL
    X-PPR: Post Package Repair for CXL Memory
    Chihun Song, Michael Jaemin Kim, Yan Sun, Houxiang Ji, Kyungsan Kim, TaeKyeong Ko, Jung Ho Ahn, and Nam Sung Kim
    IEEE Computer Architecture Letters , 2025

2024

  1. Demystifying a CXL Type-2 Device: A Heterogeneous Cooperative Computing Perspective
    Houxiang Ji, Srikar Vanavasam, Yang Zhou, Qirong Xia, Jinghan Huang, Yifan Yuan, Ren Wang, Pekon Gupta, Bhushan Chitlur, Ipoom Jeong, and Nam Sung Kim
    2024 57th IEEE/ACM International Symposium on Microarchitecture (MICRO) , 2024

2023

  1. Demystifying cxl memory with genuine cxl-ready systems and devices
    Yan Sun, Yifan Yuan, Zeduo Yu, Reese Kuper, Chihun Song, Jinghan Huang, Houxiang Ji, Siddharth Agarwal, Jiaqi Lou, Ipoom Jeong, Ren Wang, Jung Ho Ahn, Tianyin Xu, and Nam Sung Kim
    2023 56th IEEE/ACM International Symposium on Microarchitecture (MICRO) , 2023