Home / Glossary / CXL

On this pageIn more detailWhy it mattersRelated termsRead more

CXL (Compute Express Link)

CXL (Compute Express Link) is an open standard that connects processors to memory and accelerators at high speed, and allows memory to be expanded, shared and pooled between servers.

In more detail

CXL runs over the same physical connection as PCIe. A slot can support either, and the two devices agree which to use when the link starts. On top of that physical layer, CXL defines three protocols:

  • CXL.io, which is essentially PCIe, used for configuration and ordinary input and output
  • CXL.cache, which lets a device coordinate with the processor’s caches
  • CXL.mem, which lets the processor use memory located on a device as if it were its own

Together they enable several uses. Memory can be added to a server beyond what its memory slots allow. Accelerators can share memory with the processor coherently. With switching, introduced in later versions of the standard, a pool of memory can be assigned among many servers as their needs change.

Why it matters

Memory is one of the largest costs in a data center, and much of it sits idle because each server has to be equipped for its own peak demand. Pooling allows that capacity to be shared.

CXL also loosens the tie between the number of processors and the amount of memory, which is useful for memory-hungry workloads such as large databases and AI inference with large KV caches.

The trade-off is latency. Memory reached over CXL is somewhat slower than memory attached directly, so systems treat it as a separate tier.

Related terms

Read more