Four-server CXL test finds software locks add 3–5 µs per shared-data access
Four-server CXL test finds software locks add 3–5 µs per shared-data access Photo source: Tom's Hardware A real-hardware test by University of Texas at Arlington and Intel researchers found that software needed to coordinate shared CXL memory can erase perform
Illustrative imageFour-server CXL test finds software locks add 3–5 µs per shared-data access
Photo source: Tom's Hardware
A real-hardware test by University of Texas at Arlington and Intel researchers found that software needed to coordinate shared CXL memory can erase performance gains in some workloads. The findings are relevant as vendors promote CXL memory pools for AI KV cache.
The researchers tested four servers sharing one CXL memory pool and found that each lock could add a 3 - 5 µs delay when servers accessed the same data. The hardware did not automatically keep shared data up to date across servers, leaving software to enforce coordination. Their presentation was shared at Supercomputer 2026 (SC26).
This is reported by Tom's Hardware.
A lock prevents servers from changing the same shared data at once: one server claims it, and the others wait until it is released. Within a server, the CPU handles that handoff in a fraction of a microsecond. Across servers in this test, software had to manage it.
The setup used four 86-core Intel Xeon 6787P servers, each with 256GB of DRAM, connected over PCIe 5.0 to one CXL memory box. The switch limited the setup to four servers. UT Arlington’s Peiran Du called it “the only commercially available product we can use.” The system had no cross-host cache coherence or atomic operations.
Without synchronized CPU caches or hardware atomics between servers, software had to manage both. Writers sent their cached copy to the pool and waited for the operation to finish; readers discarded stale copies before reading. The researchers built locks from ordinary reads and writes, including Lamport’s fast mutex. CXL 3.0 defines a hardware cache fix called Back-Invalidate, but the researchers had not received vendor confirmation that their platform supported it.
The lock-acquisition penalty was “roughly an order of magnitude higher than local hardware spin locks.” One-way cross-host visibility took about 1 µs: 0.94 µs in the test, compared with 1.91 µs for an RDMA write over 400Gb/s InfiniBand. A local compare-and-swap took about 100 ns. Across servers, the median lock time was 3.7 µs when uncontended, rising to 132 µs at the 95th percentile when several servers competed for one lock.
The results varied by workload. Breadth-first search (BFS), a standard graph algorithm and benchmark, “gains nothing from adding a second host”: it took 0.74s on four servers, versus 0.55s on one. Locks and barriers accounted for only about 3.5% of its runtime; repeated flushing of shared state at every level was the main reason for the slowdown.
Other workloads scaled better. Hash-table throughput, using independent buckets and per-host allocators, grew almost linearly as hosts were added. Triangle counting, another standard graph benchmark, took less than half as long when scaling from one to four hosts.
The results matter as CXL memory pools are proposed as a home for AI KV cache - a model’s stored record of a conversation’s state - when it outgrows GPU memory and a server’s DRAM. The CXL Consortium’s SC26 session description said cloud providers and GPU makers “have highlighted CXL memory pooling as an effective approach for improving KV cache access.”
At SC26, SK hynix presented a design that passes KV cache between GPU servers through a shared pool. The company claimed it delivered 2.6x faster time to first token than standard RDMA setups, along with 3.0x lower P99 latency and 1.9x higher throughput. Micron showed its Abaco reference design for pooled CXL memory shared across rack servers and GPUs, claiming 10x to 30x gains for agentic AI and famfs support for apps such as Nvidia’s Dynamo.
Vikram Sharma Mailthody of Nvidia Research said at SC26 that his analysis of open models on Hugging Face showed KV cache per token falling “by 50% every twelve months,” with “up to 78 times reduction so far.” He said a 128K context that took “about 64 gigabytes” three years ago now takes less than one. But context lengths are approaching millions of tokens, and “the product of those two will keep increasing,” he said.
Agents also create demand for cached context. A workshop presentation by Argonne National Laboratory and RIT researchers, based on public AI-serving traces, described a session calling again about two minutes after its tools return. A 160 GiB recency cache kept 1% of its context, leaving the GPU to recompute about 99%. The researchers said recomputation is significantly slower and more demanding, increasing the need for memory to cache more.
Mailthody said, “Memory capacity is becoming a dominant factor. Memory latencies have not been seen as a primary problem yet.” An agent’s context only needs to survive a gap of a couple of minutes, the article notes, and cost is also a consideration. Intel’s Anil Godbole said at an SC26 CXL panel that adding capacity beyond the DIMM slot limit, including by reusing DDR4, further strengthens the case for CXL.
KV cache is written once and read many times, a pattern that scaled in the test, although UT Arlington did not specifically test KV cache. Researchers behind OCEAN, a CXL emulator, said in the same paper session that software coherence works for read-heavy workloads, while hardware becomes essential as writes increase. Their abstract reported that hardware coherence, at least in emulation, could deliver an 11x improvement at full coverage on Tigon database workloads.
SK hynix is relying on “novel locking and coherence protocols” for its design. Du said Back-Invalidate might “be pretty costly,” suggesting that hardware and software coherence may both be needed.
In a CXL Consortium presentation last month, Micron described two ways shared cache can fail: a writer’s data may never reach the pool, or a reader may not see updates. Producers can address the first by flushing data before publishing blocks; consumers can address the second by invalidating cached lines before reading. Micron said it reduced flushing costs by flushing each slot once, because an unchanged, content-addressed KV cache slot stays coherent after its first flush.
Micron’s presentation said neither failure causes a crash. Instead, a read can return plausible-looking data, producing subtly wrong output, with incorrect tokens on some requests under cache pressure.
CXL memory pooling currently reaches only within a rack, Godbole said, rather than across a full data center. Marvell and Penguin Solutions, working together, and companies including Lightelligence have shown or announced memory expansion and pooling over optical links that could extend pooling beyond one rack. Godbole also said CXL is “not the protocol to ferry such big data”: it is designed for smaller reads and writes, 64 bytes at a time, while RDMA is more efficient for bulk transfers.
A research system called Beluga, described in a paper published on arXiv a year ago, used a “commercial CXL switch-based memory pool” for KV cache. Once its cache was filled, time to first token was 89.6% lower and throughput 7.35x higher than with an RDMA-based setup.
UT Arlington’s Jia Rao described “a gap between the [CXL] spec and the implementation from different vendors.” SK hynix’s second-generation CMM-DDR5, with 256GB and CXL 3.2, has only been shown. The device its KV cache design uses to select what to send remains what company representative Younghoon Min called a “research prototype.”
Shared CXL pools fit the idea of handing off KV cache, but the article says commercial performance remains uncertain until a switch ships with confirmed coherence across servers. Back-Invalidate could reduce the software overhead measured by UT Arlington, though Du expects it to add delays of its own. Production systems may need both hardware coherence and software methods such as Micron’s.
Other topics you might like:
- US stock indexes closed mixed amid government shutdown risks, with Dow Jones rising and Nasdaq falling slightly as investors weigh economic uncertainty and AI optimism.
- Altera is preparing a potential 2026 IPO that could raise more than $2 billion, with Silver Lake, Intel and major investment banks involved in the confidential process.
