Compute Express Link (CXL) is an open industry-standard interconnect that provides high-bandwidth, low-latency connectivity between a host processor (CPU) and devices like accelerators and memory expanders, maintaining memory coherency between the CPU and device caches. It builds upon the physical and electrical layers of PCI Express® (PCIe®) but adds crucial protocols for cache coherency, memory semantics, and I/O semantics, enabling efficient resource pooling and composable infrastructure.
Glossary
Compute Express Link (CXL)

What is Compute Express Link (CXL)?
A high-speed, cache-coherent interconnect for CPUs, accelerators, and memory.
For Neural Processing Unit (NPU) acceleration, CXL is transformative. It allows an NPU to coherently share a large, unified memory space with the host CPU, dramatically reducing data movement overhead for AI workloads. This enables efficient memory hierarchy management by allowing CPUs and NPUs to access expanded, pooled memory (CXL.mem) and facilitating direct, low-latency communication between accelerators (CXL.io, CXL.cache). It directly addresses the memory wall by providing a scalable path for bandwidth and capacity beyond traditional DDR limits.
Key Features of CXL
Compute Express Link (CXL) is an open, cache-coherent interconnect standard that provides high-bandwidth, low-latency connectivity between the CPU and devices like accelerators and memory expanders. Its core features are designed to maintain memory semantics and system coherency, making it a foundational technology for heterogeneous computing.
Cache Coherence Protocol
CXL defines a hardware-managed cache coherence protocol that allows the CPU and connected devices (like NPUs, GPUs, or memory buffers) to share a unified, consistent view of memory. This eliminates the need for software to manually flush caches, a major source of latency and complexity in traditional accelerator interconnects like PCIe.
- Key Mechanism: Uses a snoop filter to track which agents cache which memory lines, minimizing coherence traffic.
- Benefit: Enables fine-grained data sharing between CPU and device, allowing them to work on the same dataset without data corruption or explicit data movement commands.
Memory Semantics & Pooling
CXL supports load/store memory semantics, allowing a device to access host memory or other device memory using standard CPU-like read/write operations. This enables advanced use cases like memory pooling and memory expansion.
- Memory Pooling: A CXL-attached memory device can be dynamically allocated to different hosts in a data center, improving utilization.
- Memory Expansion: Systems can augment their DRAM capacity with lower-cost, higher-density CXL-attached memory (CXL.mem), appearing as part of the system's physical address space.
- Example: A server with 512GB of local DRAM could add a 2TB CXL.mem module, presenting a total of 2.5TB of usable memory to the OS.
Multi-Layer Protocol Stack
CXL operates over a physical PCI Express (PCIe) 5.0+ electrical interface but uses its own logical protocol layers. The stack is composed of three optional protocol 'flavors' that can be dynamically negotiated:
- CXL.io: Essentially PCIe, providing foundational I/O operations for device discovery, configuration, and interrupts.
- CXL.cache: Allows a device (e.g., an NPU) to cache host memory, requiring the coherence protocol.
- CXL.mem: Allows the host CPU to access device-attached memory (like an expansion module) or a device to access host memory.
A device like an NPU typically uses CXL.io + CXL.cache, while a memory expander uses CXL.io + CXL.mem.
Low Latency & High Bandwidth
Built on the PCIe 5.0/6.0 physical layer, CXL is designed for ultra-low latency and high bidirectional bandwidth, critical for accelerator workloads where data movement overhead can dominate execution time.
- Latency: Aims for latency on the order of ~100 nanoseconds for coherent accesses, significantly lower than software-managed transfers over standard PCIe.
- Bandwidth: Leverages PCIe's lanes. A x16 link using PCIe 5.0 provides ~64 GB/s per direction (128 GB/s bidirectional). PCIe 6.0 doubles this.
- Use Case: An NPU can fetch model weights or intermediate activation tensors from host memory with minimal delay, keeping its compute units saturated.
Resource Disaggregation & Composable Infrastructure
CXL is a key enabler for disaggregated and composable infrastructure. It allows compute, memory, and storage resources to be physically separated in a data center rack and then logically composed into virtual servers on-demand.
- Disaggregation: CPUs, pools of CXL-attached memory, and banks of NPUs can be separate hardware modules.
- Dynamic Composition: A workload requiring massive memory and an NPU can be assigned a CPU socket, a slice of memory from a CXL pool, and a dedicated NPU, all connected via the CXL fabric.
- Benefit: Dramatically improves hardware utilization and enables more flexible, efficient data center resource management.
Industry Standard & Ecosystem
CXL is developed and maintained by the CXL Consortium, an industry group with broad membership from CPU vendors (Intel, AMD, ARM), device makers, and cloud providers. This open standard is crucial for interoperability and avoiding vendor lock-in.
- Versions: CXL 1.0/1.1 established the base protocol. CXL 2.0 added switching and memory pooling. CXL 3.0 introduced fabric capabilities and peer-to-peer communication between devices.
- Ecosystem Impact: Drives a common software model (e.g., OS and hypervisor support) and hardware compliance, allowing system builders to integrate components from different vendors confidently.
- Contrast: Unlike proprietary interconnects, CXL's openness fosters competition and innovation across the compute, memory, and accelerator landscape.
How CXL Works: Protocol Layers and Coherency
Compute Express Link (CXL) is a high-speed interconnect that enables coherent, low-latency communication between a host processor and devices like accelerators and memory expanders by layering protocols over a physical PCI Express link.
CXL operates over the Physical (PHY) and Data Link Layers of a PCI Express 5.0+ link, reusing its electricals and low-level packet structure. It adds three distinct protocol layers on top: CXL.io, which is essentially PCIe for initialization, device discovery, and I/O; CXL.cache, which allows a device (like an NPU) to coherently cache host memory; and CXL.mem, which enables the host processor to access device-attached memory using load/store semantics.
The coherency protocol is managed by the host CPU, which acts as the home agent for all coherent memory. CXL.cache devices use snoop filters and maintain cache line states, issuing requests to the host to maintain a globally consistent view of memory. This hardware-managed coherency eliminates the need for software to flush caches, a critical feature for enabling efficient, shared memory programming models between CPUs and accelerators like NPUs.
Primary Use Cases for CXL
Compute Express Link (CXL) is a high-speed, cache-coherent interconnect standard that enables efficient, low-latency connectivity between the host CPU and specialized devices. Its primary applications focus on overcoming memory and compute bottlenecks in heterogeneous systems.
CXL vs. Other Interconnect Technologies
A technical comparison of Compute Express Link (CXL) against established high-speed interconnects, highlighting key features relevant to memory hierarchy management and accelerator integration.
| Feature / Metric | Compute Express Link (CXL) | PCI Express (PCIe) | NVLink | InfiniBand |
|---|---|---|---|---|
Primary Design Purpose | CPU-centric cache-coherent interconnect for memory expansion and accelerators | General-purpose I/O expansion bus | GPU-to-GPU and GPU-to-CPU coherent interconnect | High-throughput, low-latency networking for clusters |
Coherency & Memory Semantics | ||||
Underlying Physical Layer | PCIe 5.0+ (leveraged) | PCIe (native) | Proprietary (NVIDIA) | Proprietary (IBTA) |
Typical Use Case | Memory pooling, accelerator attachment (NPUs), disaggregation | Attaching peripherals, GPUs, SSDs | NVIDIA GPU clustering (NVSwitch), CPU-GPU coupling | High-Performance Computing (HPC) cluster networking |
Topology Support | Hierarchical (switch), peer-to-peer | Root complex hierarchy | Switched fabric (NVSwitch), direct | Switched fabric |
Address Space Management | Host-managed (CPU as coherence home) | Device-managed (DMA) | Symmetrically managed | Network-managed (RDMA) |
Protocol Stack Overhead | Low (memory semantics) | Medium (I/O transaction layer) | Low (coherent memory fabric) | Medium (networking layers) |
Target Latency (end-to-end) | < 100 ns | ~500 ns - 1 µs | < 100 ns | ~500 ns - 1 µs+ (network) |
Frequently Asked Questions
Compute Express Link (CXL) is a critical open standard for high-performance, coherent interconnects between CPUs and devices like accelerators and memory. These questions address its core mechanisms, benefits, and role in modern AI hardware architectures.
Compute Express Link (CXL) is an open industry-standard interconnect that provides high-bandwidth, low-latency connectivity between a host processor (CPU) and devices like accelerators (GPUs, NPUs, FPGAs) and memory expanders, using coherency and memory semantics over a physical PCI Express (PCIe) link. It operates by layering three key protocols on top of the PCIe physical and electrical layers: CXL.io, which is foundational and based on PCIe for initialization, link-up, and I/O semantics; CXL.cache, which allows a device (like an NPU) to coherently cache host memory, dramatically reducing latency for data-intensive workloads; and CXL.mem, which enables the host processor to access device-attached memory (e.g., a memory expander) using load/store instructions, making it appear as part of the system's unified address space. This layered approach allows CXL to maintain backward compatibility with PCIe while adding critical capabilities for heterogeneous computing, enabling efficient, cache-coherent data sharing without costly software-managed data movement.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Compute Express Link (CXL) operates within a complex memory and interconnect ecosystem. These related terms define the protocols, architectures, and hardware it interacts with or complements.
Cache Coherence
Cache coherence is a fundamental property of multi-processor systems that ensures all processor caches have a consistent view of shared memory. Without it, different processors could read stale or conflicting values for the same memory location, leading to incorrect program execution. CXL builds upon and extends cache coherence protocols (like MESI) across the interconnect to accelerators and memory devices, enabling them to participate in a unified, coherent memory domain with the host CPU. This is a core feature of CXL.mem and CXL.cache protocols.
Non-Uniform Memory Access (NUMA)
Non-Uniform Memory Access (NUMA) is a multiprocessor memory architecture where memory access time depends on the memory location relative to the processor. Local memory is faster to access than memory attached to another processor socket. CXL enables a form of heterogeneous NUMA by allowing memory to be attached via the CXL link. This memory appears in the system's physical address space but has higher latency than local DDR memory. System software and applications must be aware of these latency/bandwidth tiers to optimize data placement, a concept known as CXL Memory Tiering.
High Bandwidth Memory (HBM)
High Bandwidth Memory (HBM) is a 3D-stacked DRAM technology providing extremely high bandwidth in a compact form factor, directly connected to a processor or accelerator die via a wide, ultra-short interface (like a silicon interposer). It represents the fastest tier in a system's memory hierarchy. CXL operates at a different level: it is an interconnect for attaching external memory and devices. An NPU might use HBM for its ultra-fast local workspace, while using CXL to efficiently access much larger pools of host or pooled memory, or to enable cache-coherent sharing of data with the CPU.
Peripheral Component Interconnect Express (PCIe)
Peripheral Component Interconnect Express (PCIe) is the ubiquitous, high-speed serial expansion bus standard that CXL is built upon. CXL uses the physical and electrical layers of PCIe 5.0+ (the wires, connectors, and basic signaling) but adds its own logical protocol layer on top. This allows CXL devices to plug into standard PCIe slots. The key difference is semantics: PCIe is primarily a load/store I/O interface, while CXL adds cache coherence and memory semantics, transforming it from a mere I/O bus into a memory-centric interconnect for accelerators and memory expansion.
Direct Memory Access (DMA)
Direct Memory Access (DMA) is a capability that allows a hardware subsystem (like an NPU or network card) to access host system memory independently of the CPU, offloading data transfer tasks. Traditional DMA requires software to manage data coherence explicitly. CXL enhances this model: a CXL-attached accelerator using the CXL.cache protocol can perform DMA-like accesses that are automatically cache-coherent with the host CPU. This eliminates the need for software to manually flush caches, simplifying programming and improving performance for fine-grained data sharing between the CPU and accelerator.
Memory Pooling
Memory pooling is a resource utilization paradigm where a large block of memory (like a CXL memory expander) is shared dynamically among multiple compute hosts (servers) over a network or fabric. CXL is a key enabling technology for memory pooling. A CXL Switch allows several host CPUs to connect to a shared set of CXL Type 3 memory devices. This allows memory capacity to be decoupled from individual servers, enabling more efficient use (reducing stranded memory) and allowing servers to dynamically scale memory up or down based on workload demands, similar to cloud computing models.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us