// TOM'S HARDWARE US — HARDWARE & GADGET
Shared CXL memory comes with a software tax — a real four-server test found locks cost 3–5 µs each
The results land as memory makers push shared CXL pools as a home for AI’s KV cache.
When you purchase through links on our site, we may earn an affiliate commission. Here’s how it works.
Researchers at the University of Texas at Arlington and Intel measured what happens when four servers share one pool of CXL memory on real hardware. In a presentation shared at Supercomputer 2026 (SC26), they found that because the hardware doesn’t automatically keep shared data updated across servers, necessary software overhead adds a 3-5µ (microsecond) delay per lock, each time servers access the same data. These minute delays effectively cancel out the benefits — a finding that comes as CXL memory pools are being proposed as a potential AI KV cache solution.
Locks work like traffic signals for shared data: a server has to claim the lock before it changes something in the pool, and the other servers wait until it releases it. This way, no two servers overwrite the same data at the same time. Within a given server, the CPU’s hardware handles that handoff in a fraction of a microsecond, but across these servers, software is in charge of enforcement.
The setup comprises four 86-core Intel Xeon 6787P servers with 256GB of DRAM each, connected over PCIe 5.0 to one CXL memory box. The switch, which UT Arlington’s Peiran Du called “the only commercially available product we can use,” caps their setup at four servers. The catch is that there is no cross-host cache coherence or atomic operations on “a real four-host CXL shared-memory system.”
This means no synced CPU caches and no hardware atomics between servers to build locks on, so software has to handle both. Writers publish their cached copy out to the pool and wait for it to finish, while readers throw out stale copies before reading, with the locks built from plain reads and writes, such as Lamport’s fast mutex. CXL 3.0 defines a hardware fix for the caches, called Back-Invalidate, but the researchers hadn’t received vendor confirmation that their platform supports it.
Aside from the lock acquisition penalty, which is “roughly an order of magnitude higher than local hardware spin locks,” there is a visibility cost: “one-way cross-host visibility is about 1 µs.” This is 0.94 µs, one way, compared to 1.91 µs for an RDMA write on their 400Gb/s InfiniBand, so the link isn’t the cause. A local compare-and-swap takes about 100 ns and, across servers, a lock’s median is 3.7 µs if uncontended, but 132 µs at the 95th percentile with several servers on one lock.
The result: breadth-first search (BFS), a standard graph algorithm and a common benchmark, “gains nothing from adding a second host,” and was actually slower on four servers than on one, at 0.74s versus 0.55s. This was mostly not from the locks and barriers, which were only about 3.5% of its runtime, but due to the repeated flushing of shared state at every level.
On the other hand, throughput for a hash table — using independent buckets and per-host allocators — grew almost linearly when adding hosts. Triangle counting, another standard graph benchmark, also had a runtime reduction of more than half when scaling from one to four hosts.
Those costs matter, in part, because shared CXL pools are emerging as a new home for KV cache — an AI model’s stored record of a conversation’s state — once it outgrows GPU memory and a server’s own DRAM. The CXL Consortium’s SC26 session description says cloud providers and GPU makers “have highlighted CXL memory pooling as an effective approach for improving KV cache access.”